diff --git a/Tests/Testing/CMakeLists.txt b/Tests/Testing/CMakeLists.txt index ece06d64e..f6fd4df0c 100644 --- a/Tests/Testing/CMakeLists.txt +++ b/Tests/Testing/CMakeLists.txt @@ -67,4 +67,4 @@ ADD_TEST(testing ${Testing_BINARY_DIR}/bin/testing) # Force subdirs # (coverage) # -SUBDIRS(Sub) +SUBDIRS(Sub/Sub2) diff --git a/Tests/Testing/Sub/CMakeLists.txt b/Tests/Testing/Sub/CMakeLists.txt deleted file mode 100644 index e69de29bb..000000000 diff --git a/Tests/Testing/Sub/Sub2/CMakeLists.txt b/Tests/Testing/Sub/Sub2/CMakeLists.txt new file mode 100644 index 000000000..864c1b7d9 --- /dev/null +++ b/Tests/Testing/Sub/Sub2/CMakeLists.txt @@ -0,0 +1,5 @@ +# +# Add test +# +ADD_EXECUTABLE(testing2 testing2.cxx) +ADD_TEST(testing2 ${Testing_BINARY_DIR}/bin/testing2) diff --git a/Tests/Testing/Sub/Sub2/testing2.cxx b/Tests/Testing/Sub/Sub2/testing2.cxx new file mode 100644 index 000000000..1482f27e5 --- /dev/null +++ b/Tests/Testing/Sub/Sub2/testing2.cxx @@ -0,0 +1,4 @@ +int main () +{ + return 0; +}