adding cs235
This commit is contained in:
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
EXE=dont_run_me
|
||||
|
||||
g++ -o$EXE Student_Code/*.cpp ignoreme.a -g
|
||||
|
||||
if (( $? )) ;
|
||||
then
|
||||
echo Compilation Failed;
|
||||
read -p "Press enter to exit";
|
||||
else
|
||||
chmod 755 $EXE;
|
||||
|
||||
valgrind --tool=memcheck --leak-check=yes --max-stackframe=5000000 --show-reachable=yes --suppressions=DONT_DELETE.supp ./$EXE
|
||||
rm ./$EXE
|
||||
read -p "Press any key to exit..."
|
||||
fi;
|
||||
Reference in New Issue
Block a user