-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun-subj.sh
36 lines (26 loc) · 908 Bytes
/
run-subj.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
#!/bin/bash
SKIP_COMPILE="N"
if [[ ! -z "$1" ]]; then
SKIP_COMPILE="$1"
fi
# Setup the environment variables
source ./constants.sh
source ./setup-vars.sh
if [[ "$SKIP_COMPILE" == "N" ]]; then
bash ./compile-subj.sh
if [[ $? -ne 0 ]]; then
exit 1
fi
fi
# Runs commands for "Instructions to setup a subject for test prioritization" section.
bash ./setup-prio.sh
# Instructions to generate automatically-generated tests for a subject
bash ./generate-sootTestOutput-auto.sh
# Runs commands for "Instructions to setup a subject for test selection" section.
bash ./setup-sele.sh
# Runs commands for "Instructions to setup a subject for test parallelization" section.
bash ./setup-para.sh
# Generating the number of dependent tests specifically for the new subject
bash ./generate-num-dependencies.sh
# Copy the results. Defined in constants.sh
copy_results "without-dependencies"