bc2eac1ef3
This fixes a few bugs in QML mode name resolution and simplifies our V8 patchset a little by folding some patches together. Change-Id: Ia528a43ac8ccad95ac81bcdff5d05aaeab4b48b2 Reviewed-on: http://codereview.qt.nokia.com/4294 Reviewed-by: Aaron Kennedy <aaron.kennedy@nokia.com>
19 lines
352 B
C++
19 lines
352 B
C++
#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);
|
|
RUN_TEST(evalwithinwith);
|
|
RUN_TEST(userobjectcompare);
|
|
|
|
return -1;
|
|
}
|