- Mar 25, 2015
-
-
Nat Goodspeed authored
A large negative return code doesn't do a human reader any good, even for lookup purposes, because Microsoft's lookup tables list the hex representation of that integer. So at least format the return code as hex. Going further, we've captured the content of the web page https://msdn.microsoft.com/en-us/library/cc704588.aspx as windows-rcs.html. If we can parse that file, and if we understand the structure of its table entries, and if the hex form of the actual return code is in fact listed there, we can display the symbol name and description as well as the hex return code. All those maybes are to support refreshing the file from the URL above (or wherever it might get moved) from time to time. Later versions of that file might change in unexpected ways. If we can't look up the hex rc, oh well, just display that to the user instead of crumping.
-
- Dec 17, 2014
-
-
Nat Goodspeed authored
A traceback from a Python script always makes people think there's a bug in your script. Even when a test program fails to build, CMake often (always?) tries to run it anyway, via our run_build_test.py script. For that case, produce a straightforward error message -- rather than an OSError traceback that doesn't even mention the program name!
-
- Mar 29, 2013
-
-
Graham Madarasz authored
-
- Mar 12, 2012
-
-
Nat Goodspeed authored
-
- May 04, 2011
-
-
Nat Goodspeed authored
Flushing print buffer before running actual test executable should make it clearer which setup actions apply to which test run.
-
- Apr 15, 2011
-
-
Don Kjer authored
-
- Feb 09, 2011
-
-
Merov Linden authored
-
- Jan 19, 2011
-
-
jenn authored
-
- Oct 13, 2010
-
-
Oz Linden authored
-
- Sep 21, 2010
-
-
Brad Payne (Vir Linden) authored
-
- Sep 13, 2010
-
-
Christian Goetze (CG) authored
-
Christian Goetze (CG) authored
-
Christian Goetze (CG) authored
-
- Aug 13, 2010
-
-
Oz Linden authored
-
- Aug 12, 2010
-
-
Oz Linden authored
-
- Nov 25, 2009
-
-
CG Linden authored
-
- Nov 18, 2009
-
-
Bryan O'Sullivan authored
-
- Sep 08, 2009
-
-
Nat Goodspeed authored
Because the details of RunBuildTest.cmake versus run_build_test.py had to be changed in so many different places, introduce LL_TEST_COMMAND CMake macro (in LLTestCommand.cmake) to encapsulate construction of the actual command line. Use LL_TEST_COMMAND in LL_ADD_PROJECT_UNIT_TESTS, LL_ADD_INTEGRATION_TEST, the big indra/test monolith and the various LslCompilerMacros. Fix run_build_test.py to pass through the test executable's own options (e.g. --touch, --output) without inspection. Defend it against the case when the platform-specific library path environment variable doesn't yet exist. Make it report errors only on nonzero test-program rc. Remove RunBuildTest.cmake.
-
- Sep 04, 2009
-
-
Nat Goodspeed authored
RunBuildTest.cmake can't handle pathnames containing spaces. run_build_test.py accepts an arbitrary number of individually-quoted command-line arguments, passing each through to Python's subprocess.call().
-