From 43bd1297c7458c22b4cc4fa0d77cbcde5ffe9b19 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Mon, 14 Jan 2013 13:50:35 +0100 Subject: [PATCH] Make check improvements Add support for "make check-interpreter" and fix "make check" for shadow builds. Change-Id: I38f0bd9952961f143c31a7ae15bddf90245e7500 Reviewed-by: Lars Knoll --- v4.pro | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/v4.pro b/v4.pro index b47a655..e840fc9 100644 --- a/v4.pro +++ b/v4.pro @@ -88,11 +88,20 @@ DEFINES += QMLJS_NO_LLVM } +TESTSCRIPT=$$PWD/tests/test262.py +V4CMD = $$OUT_PWD/v4 + checktarget.target = check -checktarget.commands = python tests/test262.py --parallel --with-test-expectations --update-expectations +checktarget.commands = python $$TESTSCRIPT --command=$$V4CMD --parallel --with-test-expectations --update-expectations checktarget.depends = all QMAKE_EXTRA_TARGETS += checktarget +checkmothtarget.target = check-interpreter +checkmothtarget.commands = python $$TESTSCRIPT --command=\"$$V4CMD --interpret\" --parallel --with-test-expectations --update-expectations +checkmothtarget.depends = all +QMAKE_EXTRA_TARGETS += checkmothtarget + + include(moth/moth.pri) include(masm/masm.pri) include(3rdparty/double-conversion/double-conversion.pri) -- 2.7.4