diff --git a/test.sh b/test.sh new file mode 100644 index 0000000..7bb96e7 --- /dev/null +++ b/test.sh @@ -0,0 +1,24 @@ +echo "Trying to compile the program..." +make -C src + +echo "Fetching the test suite..." +git clone https://gitlab.doc.ic.ac.uk/teaching-fellows/armv8_testsuite.git +mkdir armv8_testsuite/solution +cp -R src/. ./armv8_testsuite/solution +cd armv8_testsuite +python3 -m pip install -r requirements.txt +./install + +echo "Running the test suite..." +./run -s + +echo "Test Suite Completed" +cd .. + +# printf "%s " "Press enter to continue" +# read ans + +echo "Cleaning Up..." +make -C src clean +rm -rf armv8_testsuite +echo "Done" \ No newline at end of file