This repository has been archived on 2022-12-23. You can view files and clone it, but cannot push or open issues or pull requests.
fuck-premake-old2/tests/base
R. Blaine Whittle b88d4eff3e [core] path:join can now be deferred for those paths that execute lua
prior to this change, paths that begin with ${ } were sometimes assumed to
be either absolute or relative.  new functions have been added in order
to reduce the number of systems that can break.

new functions are

path:absolutetype -> similair to isabsolute but can return an unknown or maybe result
path:deferredjoin -> similair to path:join but creates a string for unknown absolute
	paths which we except to be generated at bake time
path:hasdeferredjoin -> predicate to determine if a path needs to be evaled for
    	a deferred join
path:resolvedeferredjoin -> resolves a deferredjoin path to an actual path
    	this is to be called after any %{} replacements occur.

right now all api path types use the deferredjoin code path and
detoken, solution:makerelative and project:makerelative have been updated
to use resolvedeferredjoin.

unit tests have been created to test the four new path functions.
added unit tests
2017-10-04 09:53:00 -07:00
..
.testDotFile Added a test dot file instead of relying on .gitignore to be shipped 2016-11-03 21:22:42 +10:00
test_aliasing.lua Add ability to safely alias function names without breaking overrides 2015-07-28 17:20:13 -04:00
test_binmodules.lua Rework binmodule example to silence unit test console output 2017-08-10 14:40:45 -04:00
test_configset.lua Remove "test.print" calls. 2017-08-07 09:26:07 -07:00
test_context.lua Increased consistency of p. usage 2017-04-25 16:41:30 +10:00
test_criteria.lua [core] Allow filters to be written as: 2017-06-13 08:39:47 -07:00
test_detoken.lua Allow tokens to start with a ! to disable making paths relative. 2017-08-28 16:03:06 -07:00
test_filename.lua Rename "MySolution" to "MyWorkspace" across tests 2015-09-03 18:03:39 -04:00
test_http.lua Use Schannel instead of mbedtls on Windows to avoid bundling CA certs 2017-03-08 22:48:40 +01:00
test_include.lua Increased consistency of p. usage 2017-04-25 16:41:30 +10:00
test_json.lua Add JSON API (#729) 2017-04-04 09:02:59 -07:00
test_module_loader.lua Update to Lua 5.3.4 2017-06-19 12:11:49 -07:00
test_option.lua Increased consistency of p. usage 2017-04-25 16:41:30 +10:00
test_os.lua Disable failing os.findheader() unit test on macOS 2017-08-10 14:55:16 -04:00
test_override.lua Increased consistency of p. usage 2017-04-25 16:41:30 +10:00
test_path.lua [core] path:join can now be deferred for those paths that execute lua 2017-10-04 09:53:00 -07:00
test_premake_command.lua Pass _PREMAKE_COMMAND unit test when executable uses a non-standard name or location 2014-06-26 10:43:48 -04:00
test_table.lua Fix usage of bit32.arshift 2016-06-09 18:12:06 -07:00
test_tree.lua Increased consistency of p. usage 2017-04-25 16:41:30 +10:00
test_uuid.lua Moved UUID collision warning to stderr to improve visibility 2013-01-17 14:37:49 -05:00
test_validation.lua Rename solution to workspace in test suites 2015-09-03 18:03:39 -04:00
test_versions.lua make "premake.checkVersion" use Semantic Versioning 2015-12-17 10:55:43 -08:00