diff options
Diffstat (limited to 'tests/backup')
-rw-r--r-- | tests/backup/backup_helper_test.cpp | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/tests/backup/backup_helper_test.cpp b/tests/backup/backup_helper_test.cpp index a661729..6da16b4 100644 --- a/tests/backup/backup_helper_test.cpp +++ b/tests/backup/backup_helper_test.cpp @@ -3,9 +3,7 @@ #include <stdio.h> #include <string.h> -#if !(TEST_BACKUP_HELPERS) -#error These tests require TEST_BACKUP_HELPERS to be defined. -#endif +#if TEST_BACKUP_HELPERS // ============================================================ // ============================================================ @@ -95,3 +93,12 @@ main(int argc, const char** argv) } } } + +#else +int +main(int argc, char** argv) +{ + printf ("test_backup_helper built without the tests\n"); + return 0; +} +#endif |