Skip to content

Commit

Permalink
Sets folder for blt tests to blt/tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kennyweiss committed Nov 9, 2017
1 parent 19db866 commit 09fdc91
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ if(ENABLE_GTEST)
blt_add_executable(NAME blt_gtest_smoke
SOURCES blt_gtest_smoke.cpp
OUTPUT_DIR ${TEST_OUTPUT_DIRECTORY}
DEPENDS_ON gtest)
DEPENDS_ON gtest
FOLDER blt/tests )

blt_add_test( NAME blt_gtest_smoke
COMMAND blt_gtest_smoke)
Expand All @@ -64,7 +65,8 @@ if(ENABLE_GMOCK)
blt_add_executable(NAME blt_gmock_smoke
SOURCES blt_gmock_smoke.cpp
OUTPUT_DIR ${TEST_OUTPUT_DIRECTORY}
DEPENDS_ON gtest gmock)
DEPENDS_ON gtest gmock
FOLDER blt/tests )

blt_add_test( NAME blt_gmock_smoke
COMMAND blt_gmock_smoke)
Expand All @@ -78,7 +80,8 @@ if (ENABLE_BENCHMARKS)
blt_add_executable(NAME blt_gbenchmark_smoke
SOURCES blt_gbenchmark_smoke.cpp
OUTPUT_DIR ${TEST_OUTPUT_DIRECTORY}
DEPENDS_ON gbenchmark)
DEPENDS_ON gbenchmark
FOLDER blt/benchmarks )

blt_add_benchmark( NAME blt_gbenchmark_smoke
COMMAND blt_gbenchmark_smoke "--benchmark_min_time=0.0001")
Expand All @@ -92,7 +95,8 @@ if (ENABLE_FORTRAN AND ENABLE_FRUIT)
blt_add_executable(NAME blt_fruit_smoke
SOURCES blt_fruit_smoke.f
OUTPUT_DIR ${TEST_OUTPUT_DIRECTORY}
DEPENDS_ON fruit)
DEPENDS_ON fruit
FOLDER blt/tests )

blt_add_test(NAME blt_fruit_smoke
COMMAND blt_fruit_smoke)
Expand All @@ -106,7 +110,8 @@ if (ENABLE_OPENMP)
blt_add_executable(NAME blt_openmp_smoke
SOURCES blt_openmp_smoke.cpp
OUTPUT_DIR ${TEST_OUTPUT_DIRECTORY}
DEPENDS_ON openmp)
DEPENDS_ON openmp
FOLDER blt/tests )

blt_add_test(NAME blt_openmp_smoke
COMMAND blt_openmp_smoke)
Expand All @@ -120,7 +125,8 @@ if (ENABLE_MPI)
blt_add_executable(NAME blt_mpi_smoke
SOURCES blt_mpi_smoke.cpp
OUTPUT_DIR ${TEST_OUTPUT_DIRECTORY}
DEPENDS_ON mpi)
DEPENDS_ON mpi
FOLDER blt/tests )

blt_add_test(NAME blt_mpi_smoke
COMMAND blt_mpi_smoke
Expand All @@ -134,15 +140,17 @@ if (ENABLE_CUDA)
blt_add_executable(NAME blt_cuda_smoke
SOURCES blt_cuda_smoke.cpp
OUTPUT_DIR ${TEST_OUTPUT_DIRECTORY}
DEPENDS_ON cuda gtest)
DEPENDS_ON cuda gtest
FOLDER blt/tests )

blt_add_test(NAME blt_cuda_smoke
COMMAND blt_cuda_smoke)

blt_add_executable(NAME blt_cuda_runtime_smoke
SOURCES blt_cuda_runtime_smoke.cpp
OUTPUT_DIR ${TEST_OUTPUT_DIRECTORY}
DEPENDS_ON cuda_runtime gtest)
DEPENDS_ON cuda_runtime gtest
FOLDER blt/tests )

blt_add_test(NAME blt_cuda_runtime_smoke
COMMAND blt_cuda_runtime_smoke)
Expand Down

0 comments on commit 09fdc91

Please sign in to comment.