diff options
author | Joe Onorato <joeo@android.com> | 2009-05-06 12:55:46 -0400 |
---|---|---|
committer | Joe Onorato <joeo@android.com> | 2009-05-08 09:33:19 -0700 |
commit | c825d3ebd6ca66e65e63fdc76f032e08aa2a8e22 (patch) | |
tree | dd9eca8ae68aaab8ed8d692ccf425a76541e9972 /tests/backup | |
parent | 1e09a72a75f5e6236acffe84f2758dd042b1c8c0 (diff) | |
download | frameworks_base-c825d3ebd6ca66e65e63fdc76f032e08aa2a8e22.zip frameworks_base-c825d3ebd6ca66e65e63fdc76f032e08aa2a8e22.tar.gz frameworks_base-c825d3ebd6ca66e65e63fdc76f032e08aa2a8e22.tar.bz2 |
fix the sim build. disables the tests for now.
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 |