Extra header added to the list
[u/mrichter/AliRoot.git] / test / CMakeLists.txt
1 Find_Program(RULE_CHECKER_SRCML src2srcml $ENV{PATH})
2 Find_Program(RULE_CHECKER_JAVA java $ENV{PATH})
3 Set(RULE_CHECKER_FOUND NO)
4 If(RULE_CHECKER_SRCML AND RULE_CHECKER_JAVA)
5   Find_File(RULE_CHECKER_JAR NAMES NewRuleChecker.jar PATHS $ENV{ALICE}/local/ALICENewRuleChecker/NewRuleChecker)
6   Find_File(RULE_CHECKER_RULES AliceCodingConventions.xml $ENV{ALICE}/local/ALICENewRuleChecker/NewRuleChecker/config)
7   If(RULE_CHECKER_JAR AND RULE_CHECKER_RULES)
8     Set(RULE_CHECKER_FOUND YES)
9   EndIf(RULE_CHECKER_JAR AND RULE_CHECKER_RULES)
10 EndIf(RULE_CHECKER_SRCML AND RULE_CHECKER_JAVA)
11
12 add_test("Warnings" cmake -P Warnings.cmake)
13 If(RULE_CHECKER_FOUND)
14 add_test("Violations" cmake -P Violation.cmake)
15 EndIf(RULE_CHECKER_FOUND)
16 add_subdirectory(gun)
17 add_subdirectory(ppbench)
18 add_subdirectory(genkine)
19 add_subdirectory(merge)
20 add_subdirectory(pploadlibs)
21 add_subdirectory(PbPbbench)
22 add_subdirectory(pileup)
23