starkos
9c76d29b8c
Merge pull request #244 from Blizzard/lua-no-deprecated-api-use
...
Don't use deprecated LUA API's
2015-09-21 19:28:34 -04:00
Jason Perkins
741bd5524e
Put back test.createsolution() function
...
Restore `test.createsolution()` alongside the new `test.createWorkspace()`. The former creates a workspace with the name "MySolution", which will pass all tests using the old name, while the latter creates a workspace named "MyWorkspace" for consistency.
2015-09-04 15:40:12 -04:00
Jason Perkins
aa88ddab96
Rename "MySolution" to "MyWorkspace" across tests
2015-09-03 18:03:39 -04:00
Tom van Dijck
66b2febb3e
Don't use deprecated LUA API's
2015-09-02 14:01:10 -07:00
starkos
ba3e30f510
Merge pull request #234 from starkos/more-workspace-renames
...
More workspace renames
2015-08-30 11:10:34 -04:00
Jason Perkins
14525e8161
Changes names in core test suites
2015-08-28 16:16:14 -04:00
Jason Perkins
1dd9e9fae2
Fix output deltas caused by recent file buffering additions
...
- Restore trailing EOL sequences to Visual Studio projects and solutions
- Fix UTF8 BOM marker on VC 2010 projects
2015-08-24 16:08:17 -04:00
Jason Perkins
8bfaef3e8f
Merge branch 'buffered-io' of https://github.com/Blizzard/premake-core into Blizzard-buffered-io
2015-08-23 15:18:50 -04:00
Jason Perkins
3d778a7151
Rename solution to workspace in global.lua and propagate changes
2015-08-10 13:05:26 -04:00
Tom van Dijck
21f4046793
Buffered I/O, and only write generated file if it changed.
2015-07-31 09:28:51 -07:00
Jason Perkins
91220c7d71
Replace "wrk" with "wks"
2015-07-30 15:30:41 -04:00
Jason Perkins
2db9ed2061
Change solution() to workspace() with minimum changes
2015-07-28 19:08:28 -04:00
tdijck
010397c15e
Fixes for lua deprecated 'arg' usage.
2015-05-11 10:18:17 -07:00
Jason Perkins
571f2da4fb
Apply coding conventions to Xcode workspace exporter
2015-03-13 16:48:06 -04:00
Jason Perkins
a0408ebb98
Only output VC'201x .user file if there is something to put in it
2015-03-11 14:40:12 -04:00
Jason Perkins
73f3375607
Rework oven to use new container APIs; can now bake rules as well
2014-10-16 16:17:59 -04:00
Jason Perkins
f73a2206ef
Port solution() to new container API
2014-10-07 16:56:53 -04:00
Jason Perkins
52515963b4
Make test framework module aware
...
- Move test action into main project script
- Look for and load test suites from manifest files
- Make individual tests play nicer with third-party modifications
2014-09-17 19:19:47 -04:00
Jason Perkins
b1e25f43b1
Test framework no longer errors when test is not found
2014-07-29 15:50:55 -04:00
Jason Perkins
10d0bd315f
Small fixes to unit test framework
...
- test.contains() can now accept and array of values to check
- no longer errors on /test argument if no matching suite/test is found
2014-07-23 13:10:41 -04:00
Jason Perkins
ccfc2b8b66
Allow "!" prefix to force an explicit object directory, disregarding project or configuration overlaps
2014-07-21 18:49:56 -04:00
Jason Perkins
1a84bd6530
Move more unit test helpers to testfx, so they can be used by modules
2014-07-07 17:03:14 -04:00
Jason Perkins
d7bd1e381d
Added support for custom rule list variables (VS only)
2014-06-11 13:52:08 -04:00
Jason Perkins
5ef13aa5b6
Merge project objects with their underlying configuration sets
2014-03-13 17:08:04 -04:00
Jason Perkins
4f40197ab0
Improve performance of configuration set handling
2014-03-09 11:47:42 -04:00
Jason Perkins
51ab0947e8
Make _OPTIONS table key lookups case insensitive
2014-02-25 13:17:04 -05:00
Jason Perkins
1cbc2bef9d
Clean up pass over output APIs used by exporters
...
- Reworked _p() and _x() over new indentation-aware output APIs
- Added proper APIs for setting indentation, EOL sequence, and value escaping
- Moved functions intended for exporters to premake.lua (with generation and validation calls)
2014-02-08 10:44:57 -05:00
Jason Perkins
623b35aba8
Add indentation aware output functions for exporters
2014-01-24 18:57:00 -05:00
Jason Perkins
446090b6d8
Added more command line flags for MSC compiler
2013-11-22 14:06:41 -05:00
Jason Perkins
1ee62b13bc
Removed override of Lua type(); no longer required by Premake APIs
2013-11-20 13:26:52 -05:00
Jason Perkins
191e81df8e
Improved use of premake.warnOnce()
2013-08-29 12:20:53 -04:00
Jason Perkins
4bd950d130
Make escaping function configurable; fix (non-)escaping of quotes in VS'10 and '12
2013-05-22 11:15:48 -04:00
Jason Perkins
4c93d368eb
Modified io.capture() etc. to allow for nested captures, to be used by new file configuration handling code
2013-03-12 18:18:47 -04:00
Jason Perkins
09100182c3
Port validation checking; add warning for out of scope values
2013-02-01 14:54:14 -05:00
Jason Perkins
41198fac9a
UUIDs in Visual Studio project files now use a deterministic, name-based generator
2012-12-29 13:26:41 -05:00
Jason Perkins
4ead57c055
Make VC2010 C++ .user file more extensible; add premake.override() convenience function.
2012-12-04 11:45:26 -05:00
Jason Perkins
432e99b2c9
Display deprecation warning for "ng" actions; properly reset state between unit tests
2012-11-28 09:55:25 -05:00
Jason Perkins
4511bc6517
More improvements to failed test stack traces
2012-11-04 09:21:40 -05:00
Jason Perkins
837b3afbeb
Improve stack traces from test failures
2012-10-31 19:34:04 -04:00
Jason Perkins
8a6bb2c837
Add stack traces to errors in failing tests
2012-10-24 11:31:30 -04:00
Jason Perkins
279caeac82
Improved error message for nil table comparison in testing framework
2012-10-11 10:59:15 -04:00
Jason Perkins
2c339eacfa
Enable running individual tests or suites
2012-04-18 15:14:31 -04:00
Jason Perkins
22266a995d
Start of API system overhaul, in support of configuration mapping
2012-04-04 16:21:22 -04:00
Jason Perkins
458dcb8cbb
Added toolset() API to enable per-configuration tool selection
2012-02-16 19:51:14 -05:00
Jason Perkins
c8e3c0df6a
Improve include() function: only include files once, and allow including specific files instead of just directories
2011-12-04 14:47:59 -05:00
Jason Perkins
2a8b81ac8d
Merge latest changes from premake-dev
2011-11-13 09:27:27 -05:00
Jason Perkins
dfda94d862
Patch 3021550: Add Wii homebrew platform (Pathogen David)
2011-09-15 16:45:48 -04:00
liamDevine
8cb574e685
The function premake.action.set (which I only see used in xcode3 tests) has a secret,
...
it not only sets the action yet can also set the global _OS. Currently when the function is used in
a test suite it should really be reset in a teardown. To make this transparent I have added the
caching of the _OS value set in C code in testfx and it is reset in 'test_setup' with the other
environment resets.
I had a quick look at the commits and can not see how or when this first caused a problem yet findlib
was failing on windows as previous premake.action.set('xcode3') had been made and therefore the
library it was looking for was 'm'.
io.eol is another potential setting which leaves a dirty environment for tests.
2011-08-22 00:52:49 +01:00
Jason Perkins
144c608442
Implemented vpaths for VS2010
2011-07-01 15:05:16 -04:00
Jason Perkins
f7609a9fa5
Ported CodeLite to trees
2011-05-12 16:00:07 -04:00