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
Liam Devine
700cd82280
corrected teardown function name in testing_make_linking.lua
...
stopped 'runall' from running 'setup' and 'teardown' as tests which also stops the inflated test count that I noticed.
Added writing of runtime to io for test suites.
Added prj = premake.solution.getproject(sln, 1) to vs10 tests and removed the managed flag hack.
2011-04-30 22:29:54 +01:00
Jason Perkins
43218e0e96
Moved io.capture to test framework; removed from test suites
2011-02-03 16:38:32 -05:00
LiamDevine
3f67eb5d7f
vcxproj support getting there
2010-06-11 22:07:07 +01:00
LiamDevine
375e4fafa7
vs2010 sln
2010-06-10 16:42:45 +01:00
starkos
97763cf414
Patch 2936443: Expose configuration terms to scripts (Laurent Humbertclaude)
2010-02-17 22:11:25 +00:00
starkos
73aad5b34b
Implemented includedirs() and defines() for Xcode
2009-11-25 20:27:57 +00:00
starkos
505efec180
More solution object refactoring
2009-11-04 18:44:13 +00:00
starkos
80fbc4d146
Cleaned up PBXBuildFile and PBXFileReference sections
2009-09-15 21:08:40 +00:00
starkos
3ee836d18c
Added source file tree builder
2009-08-18 19:09:17 +00:00
starkos
2806554e59
Shortened name placeholder for project.getfilename
2009-08-12 15:22:44 +00:00
starkos
e4a523bd1b
Began swapping out action templates for onsolution(), onproject() callbacks
2009-08-12 01:16:15 +00:00
starkos
eb9f966cc6
Started refactoring action list
2009-07-16 14:29:08 +00:00
starkos
2f328a02d8
Started tests for clean action
2009-07-14 14:28:26 +00:00
starkos
69fc269f4e
Plaform-specific settings and Xbox 360 support now working in Visual Studio 2005/2008
2009-04-09 20:02:49 +00:00
starkos
ec90b60d94
Refactored current platform code for VS2005 and VS2008
2009-03-26 19:29:21 +00:00
starkos
a16cdf5fe5
** Merged branches/platforms (r735:741) Added x32 and x64 platform support for VS2005 and 2008
2009-03-25 23:04:32 +00:00
starkos
608551f8f4
First integration of new Lua-based architecture
2008-10-31 18:38:05 +00:00