-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstants.sh
48 lines (38 loc) · 1.25 KB
/
constants.sh
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
# This file is to share variables and functions. Please do not run this
# file.
# Number of times to run the test order before taking the median
medianTimes=5
# Number of times to randomize the test order when calculating the
# precomputed dependences
randomTimes=100
testTypes=(orig auto)
coverages=(statement function)
machines=(2 4 8 16)
# Ordering for the three techniques
priorOrders=(absolute relative)
seleOrders=(original absolute relative)
paraOrders=(original time)
# Directory to output the results
prioDir=prioritization-results
seleDir=selection-results
paraDir=parallelization-results
prioList=prioritization-dt-list
seleList=selection-dt-list
paraList=parallelization-dt-list
# Which method of handling DTs should be used.
postProcessFlags=("" "-postProcessDTs")
function clearTemp() {
rm -rf tmpfile.txt
rm -rf tmptestfiles.txt
rm -rf dtFixerOutput
rm -rf local-repo/
rm -rf helium-bundle/
rm -rf notebook/
rm -rf ViewVersionInfo/
}
copy_results() {
mkdir "$DT_SCRIPTS/${SUBJ_NAME}-results/$1"
cp -r "$DT_ROOT/prioritization-results/" "$DT_SCRIPTS/${SUBJ_NAME}-results/$1"
cp -r "$DT_ROOT/selection-results/" "$DT_SCRIPTS/${SUBJ_NAME}-results/$1"
cp -r "$DT_ROOT/parallelization-results/" "$DT_SCRIPTS/${SUBJ_NAME}-results/$1"
}