diff options
Diffstat (limited to 'tests/auto/declarative/v8/v8main.cpp')
-rw-r--r-- | tests/auto/declarative/v8/v8main.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/auto/declarative/v8/v8main.cpp b/tests/auto/declarative/v8/v8main.cpp new file mode 100644 index 0000000000..bf37e2d3a5 --- /dev/null +++ b/tests/auto/declarative/v8/v8main.cpp @@ -0,0 +1,16 @@ +#include "v8test.h" +#include <stdio.h> + +#define RUN_TEST(testname) { \ + if (!v8test_ ## testname()) \ + printf ("Test %s FAILED\n", # testname); \ +} + +int main(int argc, char *argv[]) +{ + v8::V8::SetFlagsFromCommandLine(&argc, argv, true); + + RUN_TEST(eval); + + return -1; +} |