Skip to content
Snippets Groups Projects
  1. Mar 25, 2015
    • Nat Goodspeed's avatar
      Add logic to attempt to look up large Windows negative return codes. · d24c59bb
      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.
      d24c59bb
  2. Dec 17, 2014
    • Nat Goodspeed's avatar
      Produce error message, not traceback, when test program doesn't build. · 0d71baba
      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!
      0d71baba
  3. Mar 29, 2013
  4. Mar 12, 2012
  5. May 04, 2011
  6. Apr 15, 2011
  7. Feb 09, 2011
  8. Jan 19, 2011
  9. Oct 13, 2010
  10. Sep 21, 2010
  11. Sep 13, 2010
  12. Aug 13, 2010
  13. Aug 12, 2010
  14. Nov 25, 2009
  15. Nov 18, 2009
  16. Sep 08, 2009
    • Nat Goodspeed's avatar
      QAR-1619: Finish replacing RunBuildTest.cmake with run_build_test.py. · b9546a33
      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.
      b9546a33
  17. Sep 04, 2009
Loading