summaryrefslogtreecommitdiff
path: root/tests/projects
diff options
context:
space:
mode:
Diffstat (limited to 'tests/projects')
-rw-r--r--tests/projects/c++/console/test.lua7
-rw-r--r--tests/projects/c++/precompiled_header/test.lua7
-rw-r--r--tests/projects/c++/shared_library/test.lua7
-rw-r--r--tests/projects/c++/static_library/test.lua7
-rw-r--r--tests/projects/c/console/test.lua7
-rw-r--r--tests/projects/c/precompiled_header/test.lua7
-rw-r--r--tests/projects/c/shared_library/test.lua7
-rw-r--r--tests/projects/c/static library with spaces/test.lua7
-rw-r--r--tests/projects/c/static_library/test.lua7
-rw-r--r--tests/projects/dlang/console/test.lua7
-rw-r--r--tests/projects/dlang/shared_library/test.lua7
-rw-r--r--tests/projects/dlang/static_library/test.lua7
-rw-r--r--tests/projects/go/console/test.lua7
-rw-r--r--tests/projects/go/static_library/test.lua7
-rw-r--r--tests/projects/objc++/console/test.lua7
-rw-r--r--tests/projects/objc/console/test.lua7
-rw-r--r--tests/projects/other/merge_object/test.lua7
-rw-r--r--tests/projects/other/merge_static_library/test.lua7
-rw-r--r--tests/projects/package/basic/test.lua7
-rw-r--r--tests/projects/rust/console/test.lua7
-rw-r--r--tests/projects/rust/static_library/test.lua7
-rw-r--r--tests/projects/swift/console/test.lua7
22 files changed, 44 insertions, 110 deletions
diff --git a/tests/projects/c++/console/test.lua b/tests/projects/c++/console/test.lua
index 84f48ef1c..b76241be2 100644
--- a/tests/projects/c++/console/test.lua
+++ b/tests/projects/c++/console/test.lua
@@ -1,9 +1,6 @@
--- imports
-import("...build")
-
-- main entry
-function main()
+function main(t)
-- build project
- build()
+ t:build()
end
diff --git a/tests/projects/c++/precompiled_header/test.lua b/tests/projects/c++/precompiled_header/test.lua
index 84f48ef1c..b76241be2 100644
--- a/tests/projects/c++/precompiled_header/test.lua
+++ b/tests/projects/c++/precompiled_header/test.lua
@@ -1,9 +1,6 @@
--- imports
-import("...build")
-
-- main entry
-function main()
+function main(t)
-- build project
- build()
+ t:build()
end
diff --git a/tests/projects/c++/shared_library/test.lua b/tests/projects/c++/shared_library/test.lua
index 84f48ef1c..b76241be2 100644
--- a/tests/projects/c++/shared_library/test.lua
+++ b/tests/projects/c++/shared_library/test.lua
@@ -1,9 +1,6 @@
--- imports
-import("...build")
-
-- main entry
-function main()
+function main(t)
-- build project
- build()
+ t:build()
end
diff --git a/tests/projects/c++/static_library/test.lua b/tests/projects/c++/static_library/test.lua
index 84f48ef1c..b76241be2 100644
--- a/tests/projects/c++/static_library/test.lua
+++ b/tests/projects/c++/static_library/test.lua
@@ -1,9 +1,6 @@
--- imports
-import("...build")
-
-- main entry
-function main()
+function main(t)
-- build project
- build()
+ t:build()
end
diff --git a/tests/projects/c/console/test.lua b/tests/projects/c/console/test.lua
index 84f48ef1c..b76241be2 100644
--- a/tests/projects/c/console/test.lua
+++ b/tests/projects/c/console/test.lua
@@ -1,9 +1,6 @@
--- imports
-import("...build")
-
-- main entry
-function main()
+function main(t)
-- build project
- build()
+ t:build()
end
diff --git a/tests/projects/c/precompiled_header/test.lua b/tests/projects/c/precompiled_header/test.lua
index 84f48ef1c..b76241be2 100644
--- a/tests/projects/c/precompiled_header/test.lua
+++ b/tests/projects/c/precompiled_header/test.lua
@@ -1,9 +1,6 @@
--- imports
-import("...build")
-
-- main entry
-function main()
+function main(t)
-- build project
- build()
+ t:build()
end
diff --git a/tests/projects/c/shared_library/test.lua b/tests/projects/c/shared_library/test.lua
index 84f48ef1c..b76241be2 100644
--- a/tests/projects/c/shared_library/test.lua
+++ b/tests/projects/c/shared_library/test.lua
@@ -1,9 +1,6 @@
--- imports
-import("...build")
-
-- main entry
-function main()
+function main(t)
-- build project
- build()
+ t:build()
end
diff --git a/tests/projects/c/static library with spaces/test.lua b/tests/projects/c/static library with spaces/test.lua
index 84f48ef1c..b76241be2 100644
--- a/tests/projects/c/static library with spaces/test.lua
+++ b/tests/projects/c/static library with spaces/test.lua
@@ -1,9 +1,6 @@
--- imports
-import("...build")
-
-- main entry
-function main()
+function main(t)
-- build project
- build()
+ t:build()
end
diff --git a/tests/projects/c/static_library/test.lua b/tests/projects/c/static_library/test.lua
index 84f48ef1c..b76241be2 100644
--- a/tests/projects/c/static_library/test.lua
+++ b/tests/projects/c/static_library/test.lua
@@ -1,9 +1,6 @@
--- imports
-import("...build")
-
-- main entry
-function main()
+function main(t)
-- build project
- build()
+ t:build()
end
diff --git a/tests/projects/dlang/console/test.lua b/tests/projects/dlang/console/test.lua
index ba71889a5..b423189da 100644
--- a/tests/projects/dlang/console/test.lua
+++ b/tests/projects/dlang/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()
+ t:build()
end
end
diff --git a/tests/projects/dlang/shared_library/test.lua b/tests/projects/dlang/shared_library/test.lua
index ba71889a5..b423189da 100644
--- a/tests/projects/dlang/shared_library/test.lua
+++ b/tests/projects/dlang/shared_library/test.lua
@@ -1,11 +1,8 @@
--- imports
-import("...build")
-
-- main entry
-function main()
+function main(t)
-- build project
if os.host() == "macosx" then
- build()
+ t:build()
end
end
diff --git a/tests/projects/dlang/static_library/test.lua b/tests/projects/dlang/static_library/test.lua
index ba71889a5..b423189da 100644
--- a/tests/projects/dlang/static_library/test.lua
+++ b/tests/projects/dlang/static_library/test.lua
@@ -1,11 +1,8 @@
--- imports
-import("...build")
-
-- main entry
-function main()
+function main(t)
-- build project
if os.host() == "macosx" then
- build()
+ t:build()
end
end
diff --git a/tests/projects/go/console/test.lua b/tests/projects/go/console/test.lua
index ba71889a5..b423189da 100644
--- a/tests/projects/go/console/test.lua
+++ b/tests/projects/go/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()
+ t:build()
end
end
diff --git a/tests/projects/go/static_library/test.lua b/tests/projects/go/static_library/test.lua
index ba71889a5..b423189da 100644
--- a/tests/projects/go/static_library/test.lua
+++ b/tests/projects/go/static_library/test.lua
@@ -1,11 +1,8 @@
--- imports
-import("...build")
-
-- main entry
-function main()
+function main(t)
-- build project
if os.host() == "macosx" then
- build()
+ t:build()
end
end
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
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
diff --git a/tests/projects/other/merge_object/test.lua b/tests/projects/other/merge_object/test.lua
index 84f48ef1c..b76241be2 100644
--- a/tests/projects/other/merge_object/test.lua
+++ b/tests/projects/other/merge_object/test.lua
@@ -1,9 +1,6 @@
--- imports
-import("...build")
-
-- main entry
-function main()
+function main(t)
-- build project
- build()
+ t:build()
end
diff --git a/tests/projects/other/merge_static_library/test.lua b/tests/projects/other/merge_static_library/test.lua
index 84f48ef1c..b76241be2 100644
--- a/tests/projects/other/merge_static_library/test.lua
+++ b/tests/projects/other/merge_static_library/test.lua
@@ -1,9 +1,6 @@
--- imports
-import("...build")
-
-- main entry
-function main()
+function main(t)
-- build project
- build()
+ t:build()
end
diff --git a/tests/projects/package/basic/test.lua b/tests/projects/package/basic/test.lua
index 2db93991f..a4b905689 100644
--- a/tests/projects/package/basic/test.lua
+++ b/tests/projects/package/basic/test.lua
@@ -1,10 +1,7 @@
--- imports
-import("...build")
-
-- main entry
-function main()
+function main(t)
-- TODO
-- build project
--- build()
+-- t:build()
end
diff --git a/tests/projects/rust/console/test.lua b/tests/projects/rust/console/test.lua
index ba71889a5..b423189da 100644
--- a/tests/projects/rust/console/test.lua
+++ b/tests/projects/rust/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()
+ t:build()
end
end
diff --git a/tests/projects/rust/static_library/test.lua b/tests/projects/rust/static_library/test.lua
index ba71889a5..b423189da 100644
--- a/tests/projects/rust/static_library/test.lua
+++ b/tests/projects/rust/static_library/test.lua
@@ -1,11 +1,8 @@
--- imports
-import("...build")
-
-- main entry
-function main()
+function main(t)
-- build project
if os.host() == "macosx" then
- build()
+ t:build()
end
end
diff --git a/tests/projects/swift/console/test.lua b/tests/projects/swift/console/test.lua
index 08bb16360..f73079781 100644
--- a/tests/projects/swift/console/test.lua
+++ b/tests/projects/swift/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