diff options
author | Ingo Huerner <ingo.huerner@xse.de> | 2014-11-11 10:16:32 +0100 |
---|---|---|
committer | Ingo Huerner <ingo.huerner@xse.de> | 2014-11-11 10:16:32 +0100 |
commit | 441b3ce710ec6b7f1e6360cdf29e5c4243af9f1e (patch) | |
tree | cb9b6188f28d433f3437e1b6e81c8248a0628b9e /test | |
parent | a318b50bdedb370a6cf83a87720f1bd92f132eb3 (diff) | |
download | persistence-client-library-441b3ce710ec6b7f1e6360cdf29e5c4243af9f1e.tar.gz |
Disable appcheck test if appcheck is disabled
Diffstat (limited to 'test')
-rw-r--r-- | test/persistence_client_library_test.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/persistence_client_library_test.c b/test/persistence_client_library_test.c index 980ddfe..438de8a 100644 --- a/test/persistence_client_library_test.c +++ b/test/persistence_client_library_test.c @@ -1361,7 +1361,7 @@ START_TEST(test_Notifications) END_TEST - +#if USE_APPCHECK START_TEST(test_ValidApplication) { int ret = 0; @@ -1375,7 +1375,7 @@ START_TEST(test_ValidApplication) pclDeinitLibrary(); } END_TEST - +#endif static Suite * persistencyClientLib_suite() @@ -1458,9 +1458,11 @@ static Suite * persistencyClientLib_suite() tcase_add_test(tc_Notifications, test_Notifications); tcase_set_timeout(tc_Notifications, 2); +#if USE_APPCHECK TCase * tc_ValidApplication = tcase_create("ValidApplication"); tcase_add_test(tc_ValidApplication, test_ValidApplication); tcase_set_timeout(tc_ValidApplication, 2); +#endif suite_add_tcase(s, tc_persSetData); tcase_add_checked_fixture(tc_persSetData, data_setup, data_teardown); @@ -1515,8 +1517,9 @@ static Suite * persistencyClientLib_suite() suite_add_tcase(s, tc_Plugin); tcase_add_checked_fixture(tc_Plugin, data_setup, data_teardown); +#if USE_APPCHECK suite_add_tcase(s, tc_ValidApplication); - +#endif suite_add_tcase(s, tc_InitDeinit); return s; |