diff options
author | 2016-11-12 14:54:21 +0100 | |
---|---|---|
committer | 2016-11-12 14:54:21 +0100 | |
commit | 75c6c0f059c955f0fa8b5f99e30dc650f0503147 (patch) | |
tree | e543dcf4ff8fff9a49f0e291d1657fe22d9a9121 /scripts/src | |
parent | 3c577aedb88337775be37d564b6ebe1a3d74c8c3 (diff) |
Make executable for test follow rules for main file (nw)
Make normal notation for require (nw)
Split properly tests (nw)
Diffstat (limited to 'scripts/src')
-rw-r--r-- | scripts/src/tests.lua | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/scripts/src/tests.lua b/scripts/src/tests.lua index 662f6ac0c20..7b4185f5005 100644 --- a/scripts/src/tests.lua +++ b/scripts/src/tests.lua @@ -21,6 +21,49 @@ project("mametests") targetdir(MAME_DIR) end + configuration { "x64", "Release" } + targetsuffix "64" + if _OPTIONS["PROFILE"] then + targetsuffix "64p" + end + + configuration { "x64", "Debug" } + targetsuffix "64d" + if _OPTIONS["PROFILE"] then + targetsuffix "64dp" + end + + configuration { "x32", "Release" } + targetsuffix "" + if _OPTIONS["PROFILE"] then + targetsuffix "p" + end + + configuration { "x32", "Debug" } + targetsuffix "d" + if _OPTIONS["PROFILE"] then + targetsuffix "dp" + end + + configuration { "Native", "Release" } + targetsuffix "" + if _OPTIONS["PROFILE"] then + targetsuffix "p" + end + + configuration { "Native", "Debug" } + targetsuffix "d" + if _OPTIONS["PROFILE"] then + targetsuffix "dp" + end + + configuration { "mingw*" or "vs*" } + targetextension ".exe" + + configuration { "rpi" } + targetextension "" + + configuration { } links { @@ -42,6 +85,7 @@ project("mametests") files { MAME_DIR .. "tests/main.cpp", MAME_DIR .. "tests/lib/util/corestr.cpp", + MAME_DIR .. "tests/lib/util/options.cpp", MAME_DIR .. "tests/emu/attotime.cpp", } |