summaryrefslogtreecommitdiffstats
path: root/tests/backup
diff options
context:
space:
mode:
authorJoe Onorato <joeo@android.com>2009-05-06 12:55:46 -0400
committerJoe Onorato <joeo@android.com>2009-05-08 09:33:19 -0700
commitc825d3ebd6ca66e65e63fdc76f032e08aa2a8e22 (patch)
treedd9eca8ae68aaab8ed8d692ccf425a76541e9972 /tests/backup
parent1e09a72a75f5e6236acffe84f2758dd042b1c8c0 (diff)
downloadframeworks_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.cpp13
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