Commit Graph

10621 Commits

Author SHA1 Message Date
KWSys Robot 6327429f55 KWSys Nightly Date Stamp 2010-07-13 00:10:31 -04:00
KWSys Robot 942060cb19 KWSys Nightly Date Stamp 2010-07-12 00:10:33 -04:00
KWSys Robot 7dd6f1d13a KWSys Nightly Date Stamp 2010-07-11 00:10:27 -04:00
KWSys Robot 92473b32ce KWSys Nightly Date Stamp 2010-07-10 00:10:26 -04:00
Brad King 70154efef8 KWSys: Avoid undefined behavior in Process crash tests
Clang is smart enough to recognize that "*(int*)0=0" invokes undefined
behavior, warns, and produces an "undefined instruction".  The message
in commit "Avoid Clang optimizer bug in testProcess-[45]" (2010-07-02)
is incorrect; this is not a Clang bug.  It really is undefined
behavior.  Use "*(int*)1=0" to produce a crash instead.
2010-07-09 10:40:06 -04:00
KWSys Robot a1a4a2cb6d KWSys Nightly Date Stamp 2010-07-09 00:10:23 -04:00
KWSys Robot d6a8fedfbf KWSys Nightly Date Stamp 2010-07-08 00:10:22 -04:00
KWSys Robot f2dc6a664d KWSys Nightly Date Stamp 2010-07-07 00:10:31 -04:00
Brad King 28a16d1cc4 Merge branch 'improve-test-cost-sorting' 2010-07-06 10:24:31 -04:00
Brad King fd3e95f3ef Merge branch 'fix-test-dependency-bug' 2010-07-06 10:22:04 -04:00
Brad King 54b1dc4161 Merge branch 'fix-cmake-conversion-warnings' 2010-07-06 10:20:50 -04:00
Brad King a5d67513a2 Merge branch 'user-override-try-compile' 2010-07-06 10:18:45 -04:00
KWSys Robot f74baa4fcf KWSys Nightly Date Stamp 2010-07-06 00:10:23 -04:00
KWSys Robot c0468481f8 KWSys Nightly Date Stamp 2010-07-05 00:10:20 -04:00
KWSys Robot efee95cd71 KWSys Nightly Date Stamp 2010-07-04 00:10:23 -04:00
KWSys Robot 4b661784b4 KWSys Nightly Date Stamp 2010-07-03 00:10:23 -04:00
Brad King c3389d4ce2 KWSys: Avoid Clang optimizer bug in testProcess-[45]
Clang's optimizer, as of clang version 2.8 (trunk 107463), produces the
undefined instruction 'ud2' for the code "*(int*)0=0" on OS X x86_64.
It causes our crash tests to fail because the child process exits with
an invalid instruction instead of a segmentation fault.  Work around the
bug by using "*(int*)1=0" in this case.
2010-07-02 14:00:04 -04:00
KWSys Robot 9f3524f469 KWSys Nightly Date Stamp 2010-07-02 00:10:19 -04:00
Zach Mullen 142edf8ad4 More robust cost-based scheduling impl 2010-07-01 14:10:49 -04:00
KWSys Robot 6ebb4843a6 KWSys Nightly Date Stamp 2010-07-01 00:10:21 -04:00
Brad King 3b26fa13c4 KWSys: Optionally suppress consistent test failures
Add option KWSYS_TEST_BOGUS_FAILURES that can be set by a containing
project or in the CMake cache to list tests known to fail consistently
on a buggy system.
2010-06-30 11:42:08 -04:00
Brad King b84220b287 KWSys: Use short fallback timeout for Process tests
If any of the KWSys Process tests take more than a minute or two then
something is wrong.  There is no need to wait for a long default
timeout.
2010-06-30 11:41:59 -04:00
Zach Mullen 3e52000a07 Fix cycle detection for test dependencies 2010-06-30 10:39:17 -04:00
Brad King 050af165bb Fix integer conversions in cpack
These were revealed by GCC's -Wconversion option.
2010-06-30 09:57:07 -04:00
KWSys Robot b65cd9b70b KWSys Nightly Date Stamp 2010-06-30 00:10:24 -04:00
Brad King ccd8c69728 Merge branch 'vs-ps3-projects' 2010-06-29 14:36:12 -04:00
Brad King 0bcf88ff74 Merge branch 'fix-warnings' 2010-06-29 14:33:10 -04:00
Brad King fec71d8016 Fix signed/unsigned comparison warnings in ccmake
Commit ff1f8d0b (Fix or cast more integer conversions in cmake) changed
a member type from int to size_t.  Update the types of variables
compared to these values to be unsigned also.
2010-06-29 11:09:36 -04:00
Brad King c8ea2705a7 Use same type in both cases of '?:' operator
Both possible result values need to be convertible to the same type.
Some compilers fail to recognize that they can construct std::string
from the empty string literal, so state it explicitly.
2010-06-29 10:01:59 -04:00
Brad King ff1f8d0b53 Fix or cast more integer conversions in cmake
These were revealed by GCC's -Wconversion option.  Fix types where it is
easy to do so.  Cast in cases we know the integer will not be truncated.
2010-06-29 09:52:12 -04:00
Brad King 5c16024fbb KWSys: Pass ptrdiff_t check result to System.c
Since commit "Provide unix-sytle command line parsing" (2009-07-13) the
reference to KWSYS_C_HAS_PTRDIFF_T in System.c has been meaningless
because the macro was never passed to the compiler!
2010-06-29 08:50:03 -04:00
Brad King d2222d529d KWSys: Cleanup putenv leak option implementation
Define KWSYS_DO_NOT_CLEAN_PUTENV only for the implementation.  It does
not need to be configured in the interface of "Configure.hxx".
2010-06-29 08:50:03 -04:00
David Genest 295b5b60df Honor CMAKE_USER_MAKE_RULES_OVERRIDE in try_compile (#10902) 2010-06-29 08:29:41 -04:00
KWSys Robot 198e00f6e8 KWSys Nightly Date Stamp 2010-06-29 00:10:22 -04:00
Brad King 13ca4ef665 VS: Always separate preprocessor defs by semicolon (#10902)
Separation by ',' only works in VS 2008 and below and does not work in
the PlayStation3 VS plugin.  Separation by ';' works in VS 10 and all
prior versions.
2010-06-28 16:20:01 -04:00
KWSys Robot a55aee5cdd KWSys Nightly Date Stamp 2010-06-28 00:10:23 -04:00
David Cole 415900ba77 Eliminate -Wconversion warnings.
Change types of local variables, or casting, or re-arrange
expressions to get rid of "conversion may alter value" warnings
as seen on recent dashboard submissions from londinium.kitware.
2010-06-27 11:22:05 -04:00
KWSys Robot 4745f4996b KWSys Nightly Date Stamp 2010-06-27 00:10:22 -04:00
KWSys Robot b699509aee KWSys Nightly Date Stamp 2010-06-26 00:10:24 -04:00
Brad King 6fc4cd8680 Fix or cast integer conversions in cmake
These were revealed by GCC's -Wconversion option.  Fix types where it is
easy to do so.  Cast in cases we know the integer will not be truncated.
2010-06-25 09:05:15 -04:00
KWSys Robot da0190a4a7 KWSys Nightly Date Stamp 2010-06-25 00:10:17 -04:00
Brad King 566bb2d078 Merge branch 'ctest-git-empty-commits' 2010-06-24 10:41:20 -04:00
Brad King b86a551ede Merge branch 'vs10-path-issue' 2010-06-24 10:40:26 -04:00
Brad King 5890f562e3 Merge branch 'fix-ctest-parallel' 2010-06-24 10:40:19 -04:00
Brad King 73144a8f1c Merge branch 'fix_ctest_failure_code' 2010-06-24 10:35:10 -04:00
KWSys Robot 0d400c373e KWSys Nightly Date Stamp 2010-06-24 00:01:06 -04:00
Zach Mullen 1a4c0c55c7 Parallel CTest hangs if serial test has depends 2010-06-23 17:18:59 -04:00
David Cole d710a78a34 For VS10: Really use full path file names.
I naively assumed in my previous commit that the Convert call
would correctly convert a relative path file name correctly
relative to the makefile's current output directory. It actually
converts it relative to the process's current working directory.
So it would be different depending on how you launched cmake-gui.
This commit ensures that the generated files are always the same
by starting with a full path to begin with, based on the makefile
GetCurrentOutputDirectory method.
2010-06-23 16:39:28 -04:00
Brad King bbfe241c6a CTest: Parse empty Git commits correctly
Git's diff-tree format has no '\n'-terminated blank line at the end of
its commit message body block if there are no diff lines.  Instead the
message body is terminated by '\0' and there is no diff section.  Teach
CTest to parse the format in this case.
2010-06-23 09:14:43 -04:00
KWSys Robot b141862564 KWSys Nightly Date Stamp 2010-06-23 00:01:16 -04:00