ARMv8/test.sh

24 lines
510 B
Bash
Executable File

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"