25 lines
504 B
Bash
Executable File
25 lines
504 B
Bash
Executable File
echo "Trying to compile the program..."
|
|
make -C src
|
|
|
|
echo "Fetching the test suite..."
|
|
git clone git@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"
|