pre script to set up build for xv6 tests; after, you can use Makefile.test to debug
This commit is contained in:
8
initial-xv6/tests/pre
Normal file
8
initial-xv6/tests/pre
Normal file
@@ -0,0 +1,8 @@
|
||||
../tester/xv6-edit-makefile.sh src/Makefile test_1,test_2 > src/Makefile.test
|
||||
cp -f tests/test_1.c src/test_1.c
|
||||
cp -f tests/test_2.c src/test_2.c
|
||||
cd src
|
||||
make -f Makefile.test clean
|
||||
make -f Makefile.test xv6.img
|
||||
make -f Makefile.test fs.img
|
||||
cd ..
|
||||
Reference in New Issue
Block a user