From 1af88102687e493cab40e62b0a2b8b7d42417ae6 Mon Sep 17 00:00:00 2001 From: OpportunityLiu Date: Sat, 8 Jun 2019 13:34:02 +0800 Subject: improve test lib --- tests/projects/objc++/console/test.lua | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'tests/projects/objc++/console/test.lua') diff --git a/tests/projects/objc++/console/test.lua b/tests/projects/objc++/console/test.lua index 08bb16360..f73079781 100644 --- a/tests/projects/objc++/console/test.lua +++ b/tests/projects/objc++/console/test.lua @@ -1,11 +1,8 @@ --- imports -import("...build") - -- main entry -function main() +function main(t) -- build project if os.host() == "macosx" then - build({iphoneos = true}) + t:build({iphoneos = true}) end end -- cgit v1.3.1