aboutsummaryrefslogtreecommitdiff
path: root/run.sh
diff options
context:
space:
mode:
authorTeddy <[email protected]>2014-05-07 03:17:32 +0800
committerTeddy <[email protected]>2014-05-07 03:17:32 +0800
commit52b29440f8f1310e0c074c8eb409e433c56bdd62 (patch)
tree6d91ceeb6594fe337541ed3f9f50cd33ee8881ca /run.sh
parent0ac22f0214ee283ce9bb053d691aeac823f875be (diff)
rename
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh18
1 files changed, 0 insertions, 18 deletions
diff --git a/run.sh b/run.sh
deleted file mode 100755
index a3f67c3..0000000
--- a/run.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#! /bin/bash
-cp cibic testbed/
-cp lib.s testbed/
-cd testbed/
-for f in *.c
-do
- echo $f
- ./cibic $f > mips.s 2> /dev/null
- gcc $f -m32 -std=c99 2> /dev/null
- ./spim -stat -file mips.s > out
- ./a.out > std
- diff std out
- if [[ "$?" != 0 ]]; then
- echo "Wrong Answer!"
- break;
- fi
-done
-echo "OK."