Add test script to run test suite
This commit is contained in:
parent
a0a51f472c
commit
eea0faac88
24
test.sh
Normal file
24
test.sh
Normal file
@ -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"
|
||||||
Loading…
Reference in New Issue
Block a user