Last change
on this file since 1723 was
1723,
checked in by yushan, 5 years ago
|
Generic_testcase : html report added for viewing on jenkins
|
File size:
555 bytes
|
Line | |
---|
1 | cmake_minimum_required(VERSION 2.8.12.2) |
---|
2 | |
---|
3 | project(generic_testcase) |
---|
4 | |
---|
5 | |
---|
6 | enable_testing() |
---|
7 | |
---|
8 | add_subdirectory(test_function) |
---|
9 | add_subdirectory(test_axis_algo) |
---|
10 | add_subdirectory(test_domain_algo) |
---|
11 | add_subdirectory(test_grid_algo) |
---|
12 | add_subdirectory(test_scalar_algo) |
---|
13 | |
---|
14 | |
---|
15 | add_custom_target("report") |
---|
16 | add_custom_command(TARGET "report" |
---|
17 | POST_BUILD |
---|
18 | COMMAND rm -f report.txt |
---|
19 | COMMAND cat */*/report.txt > report.txt |
---|
20 | COMMAND cat */report.txt >> report.txt |
---|
21 | COMMAND rm -f report.html |
---|
22 | COMMAND cat */*/report.html > report.html |
---|
23 | COMMAND cat */report.html >> report.html) |
---|
Note: See
TracBrowser
for help on using the repository browser.