-
Notifications
You must be signed in to change notification settings - Fork 0
/
test
executable file
·33 lines (33 loc) · 1.93 KB
/
test
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
#!/bin/bash
cd testing
../aggregate.py scarlets-and-blues-classifications.csv -w Alpha-Names | diff -qs GOLDEN_Alpha-Names - && \
diff -qs Index.csv GOLDEN_Alpha-Names_Index.csv && \
diff -qs Names.csv GOLDEN_Alpha-Names_Names.csv && \
diff -qs Comments.csv GOLDEN_Alpha-Names_Comments.csv && \
../aggregate.py scarlets-and-blues-classifications.csv -w Alpha-Index | diff -qs GOLDEN_Alpha-Index - && \
diff -qs Index.csv GOLDEN_Alpha-Index_Index.csv && \
diff -qs Names.csv GOLDEN_Alpha-Index_Names.csv && \
diff -qs Comments.csv GOLDEN_Alpha-Index_Comments.csv && \
../aggregate.py scarlets-and-blues-classifications2.csv -w Alpha-Minutes | diff -qs GOLDEN_Alpha_Minutes - && \
diff -qs GOLDEN_Alpha-Minutes_Attendees.csv Attendees.csv && \
diff -qs GOLDEN_Alpha-Minutes_Items.csv Items.csv && \
diff -qs GOLDEN_Alpha-Minutes_Comments.csv Comments.csv && \
diff -qs GOLDEN_Alpha-Minutes_Tables.csv Tables.csv && \
../aggregate.py scarlets-and-blues-classifications2.csv -w Alpha-Tables | diff -qs GOLDEN_Alpha_Tables - && \
diff -qs GOLDEN_Alpha-Tables_Attendees.csv Attendees.csv && \
diff -qs GOLDEN_Alpha-Tables_Items.csv Items.csv && \
diff -qs GOLDEN_Alpha-Tables_Comments.csv Comments.csv && \
diff -qs GOLDEN_Alpha-Tables_Tables.csv Tables.csv && \
../aggregate.py rowtable.csv -w NewTable:Minutes:17077:32.62 | diff -qs GOLDEN_rowtable - && \
diff -qs GOLDEN_rowtable_Attendees.csv Attendees.csv && \
diff -qs GOLDEN_rowtable_Items.csv Items.csv && \
diff -qs GOLDEN_rowtable_Comments.csv Comments.csv && \
diff -qs GOLDEN_rowtable_Tables.csv Tables.csv && \
../aggregate.py scarlets-and-blues-classifications2.csv -w Alpha-Underlining | diff -qs GOLDEN_Lines - && \
diff -qs GOLDEN_Lines.csv Lines.csv && \
! ../aggregate.py test.csv >/dev/null && \
! ../aggregate.py test1.csv >/dev/null && \
! ../aggregate.py test2.csv >/dev/null && \
! ../aggregate.py test3.csv >/dev/null && \
echo -e '\033[0;32mTEST PASSED\033[0m' || \
echo -e '\033[0;31mTEST FAILED\033[0m'