-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.sh
More file actions
52 lines (39 loc) · 1.31 KB
/
test.sh
File metadata and controls
52 lines (39 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/bin/sh
cd test_cases/mapreduce_single
echo "--- Testing with a single process ---"
echo "Experimenting the WordCount application."
javac WordCount.java
java WordCount
echo "Experimenting the CountSameLengthWords application."
javac CountSameLengthWords.java
java CountSameLengthWords
echo "Experimenting the Vowels application."
javac Vowels.java
java Vowels
cd ../mapreduce_multi
echo "--- Testing with the multiple processes ---"
echo "Experimenting the WordCount application."
javac WordCount.java
java WordCount
echo "Experimenting the CountSameLengthWords application."
javac CountSameLengthWords.java
java CountSameLengthWords
echo "Experimenting the Vowels application."
javac Vowels.java
java Vowels
cd ../mapreduce_with_fault_tolerance
echo "--- Testing with the multiple processes and one fault ---"
echo "Experimenting the WordCount application."
javac WordCount.java
java WordCount
echo "Experimenting the CountSameLengthWords application."
javac CountSameLengthWords.java
java CountSameLengthWords
echo "Experimenting the Vowels application."
javac Vowels.java
java Vowels
echo "End of testing all applications. Please check application folders to check the output files.."
cd ../..
echo "--- Comparing the expected output and the output returned by the system ---"
javac CheckCorrectness.java
java CheckCorrectness