From 88583545d225df9d5f6e7ca1182a45fc605e1bec Mon Sep 17 00:00:00 2001 From: Tom Everett Date: Tue, 8 Mar 2016 18:11:18 -0700 Subject: [PATCH] script to run tests --- .gitignore | 6 ++++-- Makefile | 7 +++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 7c14517..4f26ad4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ -bin -sys +/bin +/sys +/tests + diff --git a/Makefile b/Makefile index 8c98540..e20a37e 100644 --- a/Makefile +++ b/Makefile @@ -65,6 +65,13 @@ tests: dirs $(AS) $(ASARGS) -o $(TESTDIR)/testmul src/tests/testmul.s $(AS) $(ASARGS) -o $(TESTDIR)/write_test src/tests/write_test.s +runtests: tests + cd tests && ../tools/a7out decimal_out + cd tests && ../tools/a7out fork_test + cd tests && ../tools/a7out octal_test +# cd tests && ../tools/a7out testmul +# cd tests && ../tools/a7out write_test + clean: rm -rf $(SYSDIR)/* rm -rf $(CMDDIR)/*