Cleans up tests/
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 6 Dec 2013 22:20:09 +0000 (14:20 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 16 Jan 2014 21:07:51 +0000 (13:07 -0800)
commite8c4078db972ad5ba09b2e3a34a079936ed7c0fa
tree03f74b0a015fe91f1ffb1b738840e9abeff0d610
parent3221b3c166a6729a2c9ba3f1fd3de87efaa2f4a1
Cleans up tests/

We're making a lot of old tests that we don't need, and they all
bloat the size of the initramfs.  This cuts it from 48MB to 26MB or so,
for me.  Glibc still takes up 13MB.

Part of the reason each test is large (200KB+) is that they all
statically link parlib.

All of the tests still live in an old/ directory.  Feel free to add more
tests, in general.  Anything we'll regularly use can be in the main
tests/ directory.  I'm just tired of building (and copying across the
network) huge kernel images.

You might need to make userclean.

You'll also want to clean out binaries from kern/kfs/bin, since those
won't get automatically cleaned.  To do this, I mv'd busybox out of KFS
temporarily, then did:

$ find kern/kfs/bin -type f -exec rm '{}' \+

(or something similar) to remove the binaries, but not the symlinks for
busybox.  Then I mv'd busybox back.
98 files changed:
tests/Makefile
tests/appender.c [deleted file]
tests/arsc_mt.c [deleted file]
tests/arsc_test.c [deleted file]
tests/badsegment.c [deleted file]
tests/breakpoint.c [deleted file]
tests/buggyhello.c [deleted file]
tests/condvar_test.c [deleted file]
tests/cpp_streams.cc [deleted file]
tests/divzero.c [deleted file]
tests/dtls_test.c [deleted file]
tests/eth_audio.c [deleted file]
tests/evilhello.c [deleted file]
tests/faultread.c [deleted file]
tests/faultreadkernel.c [deleted file]
tests/faultwrite.c [deleted file]
tests/faultwritekernel.c [deleted file]
tests/fork.c [deleted file]
tests/fp_test.c [deleted file]
tests/fpperf.cc [deleted file]
tests/hart_test.c [deleted file]
tests/idle.c [deleted file]
tests/kern_tests.h [deleted file]
tests/manycore_test.c [deleted file]
tests/mproctests.c [deleted file]
tests/msr_cycling_vcores.c [deleted file]
tests/msr_dumb_while.c [deleted file]
tests/msr_get_cores.c [deleted file]
tests/msr_get_singlecore.c [deleted file]
tests/msr_nice_while.c [deleted file]
tests/msr_single_while.c [deleted file]
tests/null.c [deleted file]
tests/old/appender.c [new file with mode: 0644]
tests/old/arsc_mt.c [new file with mode: 0644]
tests/old/arsc_test.c [new file with mode: 0644]
tests/old/badsegment.c [new file with mode: 0644]
tests/old/breakpoint.c [new file with mode: 0644]
tests/old/buggyhello.c [new file with mode: 0644]
tests/old/condvar_test.c [new file with mode: 0644]
tests/old/cpp_streams.cc [new file with mode: 0644]
tests/old/divzero.c [new file with mode: 0644]
tests/old/dtls_test.c [new file with mode: 0644]
tests/old/eth_audio.c [new file with mode: 0644]
tests/old/evilhello.c [new file with mode: 0644]
tests/old/faultread.c [new file with mode: 0644]
tests/old/faultreadkernel.c [new file with mode: 0644]
tests/old/faultwrite.c [new file with mode: 0644]
tests/old/faultwritekernel.c [new file with mode: 0644]
tests/old/fork.c [new file with mode: 0644]
tests/old/fp_test.c [new file with mode: 0644]
tests/old/fpperf.cc [new file with mode: 0644]
tests/old/hart_test.c [new file with mode: 0644]
tests/old/idle.c [new file with mode: 0644]
tests/old/kern_tests.h [new file with mode: 0644]
tests/old/manycore_test.c [new file with mode: 0644]
tests/old/mproctests.c [new file with mode: 0644]
tests/old/msr_cycling_vcores.c [new file with mode: 0644]
tests/old/msr_dumb_while.c [new file with mode: 0644]
tests/old/msr_get_cores.c [new file with mode: 0644]
tests/old/msr_get_singlecore.c [new file with mode: 0644]
tests/old/msr_nice_while.c [new file with mode: 0644]
tests/old/msr_single_while.c [new file with mode: 0644]
tests/old/null.c [new file with mode: 0644]
tests/old/proctests.c [new file with mode: 0644]
tests/old/raise.c [new file with mode: 0644]
tests/old/slab.c [new file with mode: 0644]
tests/old/softint.c [new file with mode: 0644]
tests/old/spawn.c [new file with mode: 0644]
tests/old/syscall.c [new file with mode: 0644]
tests/old/syscall_speed.c [new file with mode: 0644]
tests/old/tcp_test.c [new file with mode: 0644]
tests/old/test_mmap_ipc.c [new file with mode: 0644]
tests/old/test_ucq.c [new file with mode: 0644]
tests/old/testbss.c [new file with mode: 0644]
tests/old/tlstest.c [new file with mode: 0644]
tests/old/tsc_spitter.c [new file with mode: 0644]
tests/old/udp_test.c [new file with mode: 0644]
tests/old/user_tests.h [new file with mode: 0644]
tests/old/vvadd.c [new file with mode: 0644]
tests/openmp/Makefrag
tests/openmp/old/omp_hello.c [new file with mode: 0644]
tests/openmp/omp_hello.c [deleted file]
tests/proctests.c [deleted file]
tests/raise.c [deleted file]
tests/slab.c [deleted file]
tests/softint.c [deleted file]
tests/spawn.c [deleted file]
tests/syscall.c [deleted file]
tests/syscall_speed.c [deleted file]
tests/tcp_test.c [deleted file]
tests/test_mmap_ipc.c [deleted file]
tests/testbss.c [deleted file]
tests/tlstest.c [deleted file]
tests/tsc_spitter.c [deleted file]
tests/ucq.c [deleted file]
tests/udp_test.c [deleted file]
tests/user_tests.h [deleted file]
tests/vvadd.c [deleted file]