diff options
| author | ruki <[email protected]> | 2017-05-20 00:42:05 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-05-20 00:42:05 +0800 |
| commit | ce27b8d4dfae08a01f473e7a5cfbb94f6e79c967 (patch) | |
| tree | 76cb0f63a16787f920c3dac016ad7b6f5c2d7250 /tests/projects | |
| parent | c6876982657c8bf65b7e2a05fc1206b3aacc0ff8 (diff) | |
improve test script
Diffstat (limited to 'tests/projects')
| -rw-r--r-- | tests/projects/console_c++/test.lua | 9 | ||||
| -rw-r--r-- | tests/projects/console_c/test.lua | 9 | ||||
| -rw-r--r-- | tests/projects/console_dlang/test.lua | 11 | ||||
| -rw-r--r-- | tests/projects/console_go/test.lua | 11 | ||||
| -rw-r--r-- | tests/projects/console_objc++/test.lua | 11 | ||||
| -rw-r--r-- | tests/projects/console_objc/test.lua | 11 | ||||
| -rw-r--r-- | tests/projects/console_rust/test.lua | 11 | ||||
| -rw-r--r-- | tests/projects/console_swift/test.lua | 11 | ||||
| -rw-r--r-- | tests/projects/merge_object/test.lua | 9 | ||||
| -rw-r--r-- | tests/projects/merge_static_library/test.lua | 9 | ||||
| -rw-r--r-- | tests/projects/shared_library_c++/test.lua | 9 | ||||
| -rw-r--r-- | tests/projects/shared_library_c/test.lua | 9 | ||||
| -rw-r--r-- | tests/projects/shared_library_dlang/test.lua | 11 | ||||
| -rw-r--r-- | tests/projects/static_library_c++/test.lua | 9 | ||||
| -rw-r--r-- | tests/projects/static_library_c/test.lua | 9 | ||||
| -rw-r--r-- | tests/projects/static_library_go/test.lua | 11 | ||||
| -rw-r--r-- | tests/projects/static_library_rust/test.lua | 11 |
17 files changed, 171 insertions, 0 deletions
diff --git a/tests/projects/console_c++/test.lua b/tests/projects/console_c++/test.lua new file mode 100644 index 000000000..1ff9219ba --- /dev/null +++ b/tests/projects/console_c++/test.lua @@ -0,0 +1,9 @@ +-- imports +import("..build") + +-- main entry +function main() + + -- build project + build() +end diff --git a/tests/projects/console_c/test.lua b/tests/projects/console_c/test.lua new file mode 100644 index 000000000..1ff9219ba --- /dev/null +++ b/tests/projects/console_c/test.lua @@ -0,0 +1,9 @@ +-- imports +import("..build") + +-- main entry +function main() + + -- build project + build() +end diff --git a/tests/projects/console_dlang/test.lua b/tests/projects/console_dlang/test.lua new file mode 100644 index 000000000..82d2b61eb --- /dev/null +++ b/tests/projects/console_dlang/test.lua @@ -0,0 +1,11 @@ +-- imports +import("..build") + +-- main entry +function main() + + -- build project + if os.host() == "macosx" then + build() + end +end diff --git a/tests/projects/console_go/test.lua b/tests/projects/console_go/test.lua new file mode 100644 index 000000000..82d2b61eb --- /dev/null +++ b/tests/projects/console_go/test.lua @@ -0,0 +1,11 @@ +-- imports +import("..build") + +-- main entry +function main() + + -- build project + if os.host() == "macosx" then + build() + end +end diff --git a/tests/projects/console_objc++/test.lua b/tests/projects/console_objc++/test.lua new file mode 100644 index 000000000..be0449702 --- /dev/null +++ b/tests/projects/console_objc++/test.lua @@ -0,0 +1,11 @@ +-- imports +import("..build") + +-- main entry +function main() + + -- build project + if os.host() == "macosx" then + build({iphoneos = true}) + end +end diff --git a/tests/projects/console_objc/test.lua b/tests/projects/console_objc/test.lua new file mode 100644 index 000000000..be0449702 --- /dev/null +++ b/tests/projects/console_objc/test.lua @@ -0,0 +1,11 @@ +-- imports +import("..build") + +-- main entry +function main() + + -- build project + if os.host() == "macosx" then + build({iphoneos = true}) + end +end diff --git a/tests/projects/console_rust/test.lua b/tests/projects/console_rust/test.lua new file mode 100644 index 000000000..82d2b61eb --- /dev/null +++ b/tests/projects/console_rust/test.lua @@ -0,0 +1,11 @@ +-- imports +import("..build") + +-- main entry +function main() + + -- build project + if os.host() == "macosx" then + build() + end +end diff --git a/tests/projects/console_swift/test.lua b/tests/projects/console_swift/test.lua new file mode 100644 index 000000000..be0449702 --- /dev/null +++ b/tests/projects/console_swift/test.lua @@ -0,0 +1,11 @@ +-- imports +import("..build") + +-- main entry +function main() + + -- build project + if os.host() == "macosx" then + build({iphoneos = true}) + end +end diff --git a/tests/projects/merge_object/test.lua b/tests/projects/merge_object/test.lua new file mode 100644 index 000000000..1ff9219ba --- /dev/null +++ b/tests/projects/merge_object/test.lua @@ -0,0 +1,9 @@ +-- imports +import("..build") + +-- main entry +function main() + + -- build project + build() +end diff --git a/tests/projects/merge_static_library/test.lua b/tests/projects/merge_static_library/test.lua new file mode 100644 index 000000000..1ff9219ba --- /dev/null +++ b/tests/projects/merge_static_library/test.lua @@ -0,0 +1,9 @@ +-- imports +import("..build") + +-- main entry +function main() + + -- build project + build() +end diff --git a/tests/projects/shared_library_c++/test.lua b/tests/projects/shared_library_c++/test.lua new file mode 100644 index 000000000..1ff9219ba --- /dev/null +++ b/tests/projects/shared_library_c++/test.lua @@ -0,0 +1,9 @@ +-- imports +import("..build") + +-- main entry +function main() + + -- build project + build() +end diff --git a/tests/projects/shared_library_c/test.lua b/tests/projects/shared_library_c/test.lua new file mode 100644 index 000000000..1ff9219ba --- /dev/null +++ b/tests/projects/shared_library_c/test.lua @@ -0,0 +1,9 @@ +-- imports +import("..build") + +-- main entry +function main() + + -- build project + build() +end diff --git a/tests/projects/shared_library_dlang/test.lua b/tests/projects/shared_library_dlang/test.lua new file mode 100644 index 000000000..82d2b61eb --- /dev/null +++ b/tests/projects/shared_library_dlang/test.lua @@ -0,0 +1,11 @@ +-- imports +import("..build") + +-- main entry +function main() + + -- build project + if os.host() == "macosx" then + build() + end +end diff --git a/tests/projects/static_library_c++/test.lua b/tests/projects/static_library_c++/test.lua new file mode 100644 index 000000000..1ff9219ba --- /dev/null +++ b/tests/projects/static_library_c++/test.lua @@ -0,0 +1,9 @@ +-- imports +import("..build") + +-- main entry +function main() + + -- build project + build() +end diff --git a/tests/projects/static_library_c/test.lua b/tests/projects/static_library_c/test.lua new file mode 100644 index 000000000..1ff9219ba --- /dev/null +++ b/tests/projects/static_library_c/test.lua @@ -0,0 +1,9 @@ +-- imports +import("..build") + +-- main entry +function main() + + -- build project + build() +end diff --git a/tests/projects/static_library_go/test.lua b/tests/projects/static_library_go/test.lua new file mode 100644 index 000000000..82d2b61eb --- /dev/null +++ b/tests/projects/static_library_go/test.lua @@ -0,0 +1,11 @@ +-- imports +import("..build") + +-- main entry +function main() + + -- build project + if os.host() == "macosx" then + build() + end +end diff --git a/tests/projects/static_library_rust/test.lua b/tests/projects/static_library_rust/test.lua new file mode 100644 index 000000000..82d2b61eb --- /dev/null +++ b/tests/projects/static_library_rust/test.lua @@ -0,0 +1,11 @@ +-- imports +import("..build") + +-- main entry +function main() + + -- build project + if os.host() == "macosx" then + build() + end +end |
