-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
65 lines (56 loc) · 1.73 KB
/
Makefile
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
53
54
55
56
57
58
59
60
61
62
63
64
65
GRADLE ?= gradle
GRADLE_TEST ?= $(GRADLE) test
GRADLE_TEST_DEFAULT_FLAGS ?= --rerun-tasks
GRADLE_TEST_EXTRA_FLAGS ?=
TEST_STRESS_MIN_LOGS ?= 1
TEST_STRESS_STEP ?= 10
TEST_STRESS_MAX_LOGS ?= 1000000
TEST_STRESS_NUM_SIMULS ?= 10
TEST_PGLOGS_PATH ?= pglogs.log
test:
$(GRADLE_TEST) $(GRADLE_TEST_DEFAULT_FLAGS) $(GRADLE_TEST_EXTRA_FLAGS)
test/stress/wout-lushu/log-generator:
./test/stress_test/run_wout_loggenerator.sh \
$(TEST_STRESS_MIN_LOGS) \
$(TEST_STRESS_STEP) \
$(TEST_STRESS_MAX_LOGS) \
$(TEST_STRESS_NUM_SIMULS) \
test/stress_test/results/wout-lushu/log-generator
test/stress/wout-lushu/pglogs:
./test/stress_test/run_wout_logfile.sh \
$(TEST_STRESS_MIN_LOGS) \
$(TEST_STRESS_STEP) \
$(TEST_STRESS_MAX_LOGS) \
$(TEST_STRESS_NUM_SIMULS) \
test/stress_test/results/wout-lushu/pglogs \
$(TEST_PGLOGS_PATH)
test/stress/with-lushu/log-generator:
./test/stress_test/run_with_loggenerator.sh \
$(TEST_STRESS_MIN_LOGS) \
$(TEST_STRESS_STEP) \
$(TEST_STRESS_MAX_LOGS) \
$(TEST_STRESS_NUM_SIMULS) \
test/stress_test/results/with-lushu/log-generator
test/stress/with-lushu/pglogs:
./test/stress_test/run_with_logfile.sh \
$(TEST_STRESS_MIN_LOGS) \
$(TEST_STRESS_STEP) \
$(TEST_STRESS_MAX_LOGS) \
$(TEST_STRESS_NUM_SIMULS) \
test/stress_test/results/with-lushu/pglogs \
$(TEST_PGLOGS_PATH)
# This test tries to emulate what Zhefuscator (Saffran et. al) did. Zhefuscator
# only recognized integer numbers as an aggregate entity.
test/compare/zhe:
./test/compare_to_zhe/run.sh \
1 \
10 \
2010 \
example/zhe.yaml \
test/compare_to_zhe/results/zhe
./test/compare_to_zhe/run.sh \
1 \
10 \
2010 \
example/config.yaml \
test/compare_to_zhe/results/lushu