diff options
Diffstat (limited to 'tests/base/test_premake_command.lua')
-rw-r--r-- | tests/base/test_premake_command.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/base/test_premake_command.lua b/tests/base/test_premake_command.lua new file mode 100644 index 0000000..0c29c5f --- /dev/null +++ b/tests/base/test_premake_command.lua @@ -0,0 +1,14 @@ +-- +-- tests/base/test_premake_command.lua +-- Test the initialization of the _PREMAKE_COMMAND global. +-- Copyright (c) 2012 Jason Perkins and the Premake project +-- + + T.premake_command = { } + local suite = T.premake_command + + + function suite.valueIsSet() + local filename = iif(os.is("windows"), "premake4.exe", "premake4") + test.isequal(path.getabsolute("../bin/debug/" .. filename), _PREMAKE_COMMAND) + end |