392
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
1 |
#!/bin/sh
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
2 |
###set -e
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
3 |
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
4 |
trap "exit" INT
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
5 |
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
6 |
files=${1:-*/main5}
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
7 |
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
8 |
for sd in $files; do
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
9 |
cd $sd
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
10 |
echo $sd
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
11 |
touch .
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
12 |
cp ../../../../../main_marking5/bf_test.sh .
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
13 |
cp ../../../../../main_marking5/bf_test1.scala .
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
14 |
cp ../../../../../main_marking5/bf_test2.scala .
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
15 |
cp ../../../../../main_marking5/bf_test3.scala .
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
16 |
cp ../../../../../main_marking5/bf_test4.scala .
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
17 |
cp ../../../../../main_marking5/bf_test4b.scala .
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
18 |
cp ../../../../../main_marking5/bf_test5.scala .
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
19 |
cp ../../../../../main_marking5/bf_test6.scala .
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
20 |
cp ../../../../../main_marking5/bf_test7.scala .
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
21 |
cp ../../../../../main_marking5/*.bf .
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
22 |
./bf_test.sh output
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
23 |
rm bf_test.sh
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
24 |
rm bf_test1.scala
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
25 |
rm bf_test2.scala
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
26 |
rm bf_test3.scala
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
27 |
rm bf_test4.scala
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
28 |
rm bf_test4b.scala
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
29 |
rm bf_test5.scala
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
30 |
rm bf_test6.scala
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
31 |
rm bf_test7.scala
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
32 |
rm *.bf
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
33 |
cd ..
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
34 |
cd ..
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
35 |
done
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
36 |
|
Christian Urban <christian.urban@kcl.ac.uk>
parents:
diff
changeset
|
37 |
|