Commit Graph

28 Commits

Author SHA1 Message Date
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