source: XIOS/dev/dev_trunk_omp/GENERIC_TESTCASE/CMakeLists.txt @ 1734

Last change on this file since 1734 was 1734, checked in by yushan, 5 years ago

GENERIC_TESTCASE : check all .nc files by default. Generate Cmake files from python scripts (user_config.py, setup.py). Add scripts for copy to/from compressed reference stored in /gpfswork/rech/psl/rpsl954 (Jean-Zay and Irene).

File size: 1.3 KB
Line 
1##############################
2# file generated by setup.py #
3#      DO NOT modify         #
4##############################
5
6cmake_minimum_required(VERSION 2.8.12.2)
7
8project(generic_testcase)
9
10enable_testing()
11
12add_subdirectory(test_domain_algo)
13add_subdirectory(test_scalar_algo)
14add_subdirectory(test_function)
15add_subdirectory(test_axis_algo)
16add_subdirectory(test_grid_algo)
17
18add_custom_target("report")
19
20add_custom_command(TARGET "report"
21                   POST_BUILD
22                   COMMAND rm -f report.txt
23                   COMMAND rm -f report.html
24                   COMMAND cat test_domain_algo/report.txt >> report.txt
25                   COMMAND cat test_domain_algo/report.html >> report.html
26                   COMMAND cat test_scalar_algo/report.txt >> report.txt
27                   COMMAND cat test_scalar_algo/report.html >> report.html
28                   COMMAND cat test_function/report.txt >> report.txt
29                   COMMAND cat test_function/report.html >> report.html
30                   COMMAND cat test_axis_algo/report.txt >> report.txt
31                   COMMAND cat test_axis_algo/report.html >> report.html
32                   COMMAND cat test_grid_algo/report.txt >> report.txt
33                   COMMAND cat test_grid_algo/report.html >> report.html
34                   )
35
Note: See TracBrowser for help on using the repository browser.