-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
84 lines (60 loc) · 3.94 KB
/
CMakeLists.txt
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
include_directories(../Src/PathPlanning)
set(HEADERS ../Src/PathPlanning/tinyxml2.h
vector.h
path.h)
set(SOURCES ../Src/PathPlanning/tinyxml2.cpp)
add_executable(Generate ${HEADERS} ${SOURCES} generator.cpp)
add_executable(Check ${HEADERS} ${SOURCES} check.cpp)
add_test(NAME "examples"
COMMAND bash -c "./../Src/PathPlanning/SippSearch ../../Examples/tasks/ &&
./Check ../../Examples/logs")
add_test(NAME "examples/anytime"
COMMAND bash -c "./../Src/PathPlanning/SippSearch ../../Examples/tasks/ -w 10 &&
./Check ../../Examples/logs_anytime")
add_test(NAME "preparation/run"
COMMAND bash -c "echo \"taskfile,width,height,obstaclesN,found,length,nodescreated,numberofsteps,searchtime\" >../../Tests/results.csv")
add_test(NAME "256/small_tasks/run"
COMMAND bash -c "./../Src/PathPlanning/SippSearch ../../TestsData/City/tests_256/small_tasks/tasks/ -l -2 >>../../Tests/results.csv &&
./Check ../../TestsData/City/tests_256/small_tasks/logs")
add_test(NAME "256/tasks_500/run"
COMMAND bash -c "./../Src/PathPlanning/SippSearch ../../TestsData/City/tests_256/tasks_500/tasks/ -l -2 >>../../Tests/results.csv &&
./Check ../../TestsData/City/tests_256/tasks_500/logs")
add_test(NAME "256/tasks_1000/run"
COMMAND bash -c "./../Src/PathPlanning/SippSearch ../../TestsData/City/tests_256/tasks_1000/tasks/ -l -2 >>../../Tests/results.csv &&
./Check ../../TestsData/City/tests_256/tasks_1000/logs")
add_test(NAME "512/small_tasks/run"
COMMAND bash -c "./../Src/PathPlanning/SippSearch ../../TestsData/City/tests_512/small_tasks/tasks/ -l -2 >>../../Tests/results.csv &&
./Check ../../TestsData/City/tests_512/small_tasks/logs")
add_test(NAME "512/tasks_500/run"
COMMAND bash -c "./../Src/PathPlanning/SippSearch ../../TestsData/City/tests_512/tasks_500/tasks/ -l -2 >>../../Tests/results.csv &&
./Check ../../TestsData/City/tests_512/tasks_500/logs")
add_test(NAME "512/tasks_1000/run"
COMMAND bash -c "./../Src/PathPlanning/SippSearch ../../TestsData/City/tests_512/tasks_1000/tasks/ -l -2 >>../../Tests/results.csv &&
./Check ../../TestsData/City/tests_512/tasks_1000/logs")
add_test(NAME "1024/small_tasks/run"
COMMAND bash -c "./../Src/PathPlanning/SippSearch ../../TestsData/City/tests_1024/small_tasks/tasks/ -l -2 >>../../Tests/results.csv &&
./Check ../../TestsData/City/tests_1024/small_tasks/logs")
add_test(NAME "1024/tasks_500/run"
COMMAND bash -c "./../Src/PathPlanning/SippSearch ../../TestsData/City/tests_1024/tasks_500/tasks/ -l -2 >>../../Tests/results.csv &&
./Check ../../TestsData/City/tests_1024/tasks_500/logs")
add_test(NAME "1024/tasks_1000/run"
COMMAND bash -c "./../Src/PathPlanning/SippSearch ../../TestsData/City/tests_1024/tasks_1000/tasks/ -l -2 >>../../Tests/results.csv &&
./Check ../../TestsData/City/tests_1024/tasks_1000/logs")
add_test(NAME "256/small_tasks/check"
COMMAND ./Check ../../TestsData/City/tests_256/small_tasks/logs)
add_test(NAME "256/tasks_500/check"
COMMAND ./Check ../../TestsData/City/tests_256/tasks_500/logs)
add_test(NAME "256/tasks_1000/check"
COMMAND ./Check ../../TestsData/City/tests_256/tasks_1000/logs)
add_test(NAME "512/small_tasks/check"
COMMAND ./Check ../../TestsData/City/tests_512/small_tasks/logs)
add_test(NAME "512/tasks_500/check"
COMMAND ./Check ../../TestsData/City/tests_512/tasks_500/logs)
add_test(NAME "512/tasks_1000/check"
COMMAND ./Check ../../TestsData/City/tests_512/tasks_1000/logs)
add_test(NAME "1024/small_tasks/check"
COMMAND ./Check ../../TestsData/City/tests_1024/small_tasks/logs)
add_test(NAME "1024/tasks_500/check"
COMMAND ./Check ../../TestsData/City/tests_1024/tasks_500/logs)
add_test(NAME "1024/tasks_1000/check"
COMMAND ./Check ../../TestsData/City/tests_1024/tasks_1000/logs)