tests: prefix for C test changed to 'test_'.
authorTomas Mlcoch <tmlcoch@redhat.com>
Mon, 13 May 2013 11:03:42 +0000 (13:03 +0200)
committerTomas Mlcoch <tmlcoch@redhat.com>
Mon, 13 May 2013 11:04:03 +0000 (13:04 +0200)
tests/CMakeLists.txt
tests/test_compression_wrapper.c [moved from tests/testcompression_wrapper.c with 100% similarity]
tests/test_load_metadata.c [moved from tests/testload_metadata.c with 100% similarity]
tests/test_misc.c [moved from tests/testmisc.c with 100% similarity]
tests/test_sqlite.c [moved from tests/testsqlite.c with 100% similarity]

index cd373c6..2de6d47 100644 (file)
@@ -1,18 +1,18 @@
-ADD_EXECUTABLE(testcompression_wrapper testcompression_wrapper.c)
-TARGET_LINK_LIBRARIES(testcompression_wrapper libcreaterepo_c ${GLIB2_LIBRARIES})
-ADD_DEPENDENCIES(tests testcompression_wrapper)
+ADD_EXECUTABLE(test_compression_wrapper test_compression_wrapper.c)
+TARGET_LINK_LIBRARIES(test_compression_wrapper libcreaterepo_c ${GLIB2_LIBRARIES})
+ADD_DEPENDENCIES(tests test_compression_wrapper)
 
-ADD_EXECUTABLE(testload_metadata testload_metadata.c)
-TARGET_LINK_LIBRARIES(testload_metadata libcreaterepo_c ${GLIB2_LIBRARIES})
-ADD_DEPENDENCIES(tests testload_metadata)
+ADD_EXECUTABLE(test_load_metadata test_load_metadata.c)
+TARGET_LINK_LIBRARIES(test_load_metadata libcreaterepo_c ${GLIB2_LIBRARIES})
+ADD_DEPENDENCIES(tests test_load_metadata)
 
-ADD_EXECUTABLE(testmisc testmisc.c)
-TARGET_LINK_LIBRARIES(testmisc libcreaterepo_c ${GLIB2_LIBRARIES})
-ADD_DEPENDENCIES(tests testmisc)
+ADD_EXECUTABLE(test_misc test_misc.c)
+TARGET_LINK_LIBRARIES(test_misc libcreaterepo_c ${GLIB2_LIBRARIES})
+ADD_DEPENDENCIES(tests test_misc)
 
-ADD_EXECUTABLE(testsqlite testsqlite.c)
-TARGET_LINK_LIBRARIES(testsqlite libcreaterepo_c ${GLIB2_LIBRARIES})
-ADD_DEPENDENCIES(tests testsqlite)
+ADD_EXECUTABLE(test_sqlite test_sqlite.c)
+TARGET_LINK_LIBRARIES(test_sqlite libcreaterepo_c ${GLIB2_LIBRARIES})
+ADD_DEPENDENCIES(tests test_sqlite)
 
 #ADD_TEST(test_main gtester "${CMAKE_CURRENT_SOURCE_DIR}/test_data")
 CONFIGURE_FILE("run_gtester.sh.in"  "run_gtester.sh")
similarity index 100%
rename from tests/testmisc.c
rename to tests/test_misc.c
similarity index 100%
rename from tests/testsqlite.c
rename to tests/test_sqlite.c