Commit Graph

2020 Commits

Author SHA1 Message Date
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
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
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
KWSys Robot b65cd9b70b KWSys Nightly Date Stamp 2010-06-30 00:10:24 -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
KWSys Robot 198e00f6e8 KWSys Nightly Date Stamp 2010-06-29 00:10:22 -04:00
KWSys Robot a55aee5cdd KWSys Nightly Date Stamp 2010-06-28 00:10:23 -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
KWSys Robot da0190a4a7 KWSys Nightly Date Stamp 2010-06-25 00:10:17 -04:00
KWSys Robot 0d400c373e KWSys Nightly Date Stamp 2010-06-24 00:01:06 -04:00
KWSys Robot b141862564 KWSys Nightly Date Stamp 2010-06-23 00:01:16 -04:00
KWSys Robot d7770578d1 KWSys Nightly Date Stamp 2010-06-22 00:01:22 -04:00
KWSys Robot e45a600a0f KWSys Nightly Date Stamp 2010-06-21 00:01:04 -04:00
KWSys Robot dc2f8590d1 KWSys Nightly Date Stamp 2010-06-20 00:01:04 -04:00
KWSys Robot 10c84dc10e KWSys Nightly Date Stamp 2010-06-19 00:01:04 -04:00
KWSys Robot abe355ef1c KWSys Nightly Date Stamp 2010-06-18 00:01:02 -04:00
KWSys Robot d7f8df694a KWSys Nightly Date Stamp 2010-06-17 00:01:03 -04:00
KWSys Robot 2da22e7f5c KWSys Nightly Date Stamp 2010-06-16 00:01:04 -04:00
KWSys Robot d714b18ac5 KWSys Nightly Date Stamp 2010-06-15 00:01:07 -04:00
KWSys Robot f7f8396337 KWSys Nightly Date Stamp 2010-06-14 00:01:03 -04:00
KWSys Robot 8d29fa46ab KWSys Nightly Date Stamp 2010-06-13 00:01:02 -04:00
KWSys Robot a7abcd1442 KWSys Nightly Date Stamp 2010-06-12 00:01:05 -04:00
Brad King b9e3c243d4 KWSys: Teach Process to error on empty command
Do not try to execute a child with no command line.  Previously this led
to a silent hang.
2010-06-11 11:00:38 -04:00
Brad King 60478de3e5 KWSys: Process tree kill for Solaris 2010-06-11 10:15:19 -04:00
KWSys Robot 6ce85691eb KWSys Nightly Date Stamp 2010-06-11 00:01:32 -04:00
Brad King 3f92947524 KWSys: Configure DynamicLoader library prefix/suffix
The DynamicLoader::LibPrefix and DynamicLoader::LibExtension methods
previously hard-coded the module name components for each platform.  Set
them from the CMAKE_SHARED_MODULE_PREFIX and CMAKE_SHARED_MODULE_SUFFIX
CMake variables instead.  This ensures consistency in a program that
uses these methods to construct the file names for its own modules.
2010-06-10 09:26:32 -04:00
KWSys Robot c452d5b646 KWSys Nightly Date Stamp 2010-06-10 00:01:03 -04:00
KWSys Robot 86de1d6504 KWSys Nightly Date Stamp 2010-06-09 00:01:09 -04:00
KWSys Robot ddf0de132b KWSys Nightly Date Stamp 2010-06-08 00:01:03 -04:00
KWSys Robot 2847d86c68 KWSys Nightly Date Stamp 2010-06-07 00:01:04 -04:00
KWSys Robot c06dae9e67 KWSys Nightly Date Stamp 2010-06-06 00:01:03 -04:00
KWSys Robot dc6ed8ee8c KWSys Nightly Date Stamp 2010-06-05 00:01:03 -04:00
Brad King ac17dc4a43 KWSys: Remove "copyPermissions" parameters
The CopyFileIfDifferent, CopyFileAlways, CopyAFile and CopyADirectory
methods should always copy permissions.  The special cases in which a
caller would pass copyPermissions=false should be handled at the call
site.  The parameter needlessly complicates the interface and semantics
of these methods.
2010-06-04 16:02:00 -04:00
KWSys Robot 5f4ac98bc5 KWSys Nightly Date Stamp 2010-06-04 00:01:03 -04:00
Brad King c15ed3294c KWSys: Avoid stat in CopyFileAlways (#10790)
On Windows 7 the file size reported by 'stat' on a new file sometimes
reports zero even though the real size is correct.  This causes our
CopyFileAlways method to falsely detect copy failure.  Work around the
problem by trusting the state of ofstream after writing the file.
2010-06-03 12:46:11 -04:00
KWSys Robot 3ac3dea6f0 KWSys Nightly Date Stamp 2010-06-03 00:01:02 -04:00
KWSys Robot eaee8a2cb1 KWSys Nightly Date Stamp 2010-06-02 00:01:04 -04:00
KWSys Robot 7f619608d5 KWSys Nightly Date Stamp 2010-06-01 00:01:05 -04:00
KWSys Robot b9e5faf618 KWSys Nightly Date Stamp 2010-05-31 00:01:07 -04:00
KWSys Robot f034094e90 KWSys Nightly Date Stamp 2010-05-30 00:01:11 -04:00
KWSys Robot 6e8aa44327 KWSys Nightly Date Stamp 2010-05-29 00:01:04 -04:00
KWSys Robot e6efd9ac0a KWSys Nightly Date Stamp 2010-05-28 00:01:03 -04:00
KWSys Robot 282a119e35 KWSys Nightly Date Stamp 2010-05-27 00:01:10 -04:00
KWSys Robot 515339f313 KWSys Nightly Date Stamp 2010-05-26 00:01:04 -04:00
KWSys Robot d5e86a5f45 KWSys Nightly Date Stamp 2010-05-25 00:01:03 -04:00
KWSys Robot 41e675a045 KWSys Nightly Date Stamp 2010-05-24 00:01:06 -04:00
KWSys Robot 37fb1f3690 KWSys Nightly Date Stamp 2010-05-23 00:01:05 -04:00
KWSys Robot ba88271427 KWSys Nightly Date Stamp 2010-05-22 00:01:12 -04:00
KWSys Robot 45e6aee72c KWSys Nightly Date Stamp 2010-05-21 00:01:14 -04:00
KWSys Robot b71b3b710f KWSys Nightly Date Stamp 2010-05-20 00:01:02 -04:00
KWSys Robot 6138ff02ed KWSys Nightly Date Stamp 2010-05-19 00:01:03 -04:00
KWSys Robot 3d784cc752 KWSys Nightly Date Stamp 2010-05-18 00:01:07 -04:00
KWSys Robot 0559c4e04e KWSys Nightly Date Stamp 2010-05-17 13:24:39 -04:00
KWSys Robot f9f2e61e27 KWSys Nightly Date Stamp 2010-05-17 13:24:25 -04:00
KWSys Robot b81727621a KWSys Nightly Date Stamp 2010-05-14 00:01:02 -04:00
KWSys Robot f7abdff721 KWSys Nightly Date Stamp 2010-05-13 00:01:03 -04:00
Bill Hoffman 0b5288849f Silence warnings on sgi compiler. 2010-05-12 09:37:42 -04:00
KWSys Robot 8ce275fee5 KWSys Nightly Date Stamp 2010-05-12 00:01:13 -04:00
Brad King 83d3b1e427 KWSys: Process tree kill for kFreeBSD, GNU/Hurd
kFreeBSD and Hurd have the same userland as Linux.  This change is
necessary to enable kwsysProcessKill() to kill child processes on
kFreeBSD.  The bug was detected by CTestTestTimeout test.

Patch from "Modestas Vainius <modestas@vainius.eu>".
See issue #10432.
2010-05-11 13:34:54 -04:00
KWSys Robot 408bf244dd KWSys Nightly Date Stamp 2010-05-11 00:01:04 -04:00
KWSys Robot e30279e7de KWSys Nightly Date Stamp 2010-05-10 00:01:04 -04:00
KWSys Robot dedbe6fd48 KWSys Nightly Date Stamp 2010-05-09 00:01:03 -04:00
KWSys Robot ed81b62eff KWSys Nightly Date Stamp 2010-05-08 00:01:02 -04:00
KWSys Robot 162597e4bf KWSys Nightly Date Stamp 2010-05-07 00:01:12 -04:00
KWSys Robot 0ac7f85d20 KWSys Nightly Date Stamp 2010-05-06 00:01:03 -04:00
KWSys Robot 0bf998a46b KWSys Nightly Date Stamp 2010-05-05 00:01:05 -04:00
Bill Hoffman e2c496e2af Fix for bug #10542, allow this to build on Tru64 2010-05-04 14:43:43 -04:00
KWSys Robot f20fd583d8 KWSys Nightly Date Stamp 2010-05-04 00:01:02 -04:00
KWSys Robot 0b7206dd23 KWSys Nightly Date Stamp 2010-05-03 00:01:03 -04:00
KWSys Robot 5272d0dd8c KWSys Nightly Date Stamp 2010-05-02 00:01:03 -04:00
KWSys Robot 42c40884d2 KWSys Nightly Date Stamp 2010-05-01 00:01:12 -04:00
KWSys Robot d4c95316ee KWSys Nightly Date Stamp 2010-04-30 00:01:07 -04:00
Bill Hoffman 54319451a5 Make get_stl_prime_list an inline function to avoid duplicate copies of it. 2010-04-29 08:51:39 -04:00
KWSys Robot 7b7bf9344c KWSys Nightly Date Stamp 2010-04-29 00:01:07 -04:00
Bill Hoffman a170690fd2 Fix for bug #10550, work around instantiation out of scope 2010-04-28 17:42:22 -04:00
KWSys Robot 46bc8fc739 KWSys Nightly Date Stamp 2010-04-28 00:01:02 -04:00
KWSys Robot 32856c1be4 KWSys Nightly Date Stamp 2010-04-27 00:01:03 -04:00
KWSys Robot 07bd06bce3 KWSys Nightly Date Stamp 2010-04-26 00:01:03 -04:00
KWSys Robot 3d5d76fd88 KWSys Nightly Date Stamp 2010-04-25 00:01:02 -04:00
KWSys Robot f6b271521a KWSys Nightly Date Stamp 2010-04-24 00:01:06 -04:00
KWSys Robot 6c76119777 KWSys Nightly Date Stamp 2010-04-23 00:01:04 -04:00
KWSys Robot e498510de9 KWSys Nightly Date Stamp 2010-04-22 00:01:16 -04:00
KWSys Robot 45d9106eef KWSys Nightly Date Stamp 2010-04-21 00:01:03 -04:00
KWSys Robot 22e9f2d0ab KWSys Nightly Date Stamp 2010-04-20 00:01:03 -04:00
Brad King 60de059bff KWSys Process: Add OpenBSD process tree kill support
Patch from Chuck Atkins <chuck.atkins@kitware.com>
2010-04-19 16:30:37 -04:00
Brad King 43072405e2 KWSys SharedForward: Add OpenBSD support
Patch from Chuck Atkins <chuck.atkins@kitware.com>
2010-04-19 16:30:23 -04:00
KWSys Robot 2c156fd18c KWSys Nightly Date Stamp 2010-04-19 00:01:03 -04:00
KWSys Robot 67c42804b9 KWSys Nightly Date Stamp 2010-04-18 00:01:05 -04:00
KWSys Robot c178660d96 KWSys Nightly Date Stamp 2010-04-17 00:01:03 -04:00
KWSys Robot 8df8fd8868 KWSys Nightly Date Stamp 2010-04-16 00:01:05 -04:00
KWSys Robot e04daebd73 KWSys Nightly Date Stamp 2010-04-15 00:01:03 -04:00
KWSys Robot 13e6b430ff KWSys Nightly Date Stamp 2010-04-14 00:01:08 -04:00
KWSys Robot f9bdbf8fd3 KWSys Nightly Date Stamp 2010-04-13 00:01:06 -04:00
KWSys Robot c70850de6d KWSys Nightly Date Stamp 2010-04-12 00:01:04 -04:00
KWSys Robot d33303f22f KWSys Nightly Date Stamp 2010-04-11 00:01:02 -04:00
KWSys Robot c55814170e KWSys Nightly Date Stamp 2010-04-10 00:01:11 -04:00
David Cole 018c13ff73 Patch to avoid short name usage where possible. Get the actual case spelling of a file name on 'Windows' without converting to short name and back again. Avoids bad behavior reported in http://bugs.winehq.org/show_bug.cgi?id=22286 when using cmake under a wine/msys/mingw installation on a Linux box. Thanks to Clinton Stimpson for preparing the patch. 2010-04-09 12:15:06 -04:00
KWSys Robot f468b50e9a KWSys Nightly Date Stamp 2010-04-09 00:01:04 -04:00
KWSys Robot e93b737dd5 KWSys Nightly Date Stamp 2010-04-08 00:01:05 -04:00
KWSys Robot 8ca2fa78b4 KWSys Nightly Date Stamp 2010-04-07 00:01:02 -04:00
KWSys Robot 3917de0998 KWSys Nightly Date Stamp 2010-04-06 00:01:04 -04:00
KWSys Robot ca41b71f0d KWSys Nightly Date Stamp 2010-04-05 00:01:03 -04:00
KWSys Robot 200d40acd1 KWSys Nightly Date Stamp 2010-04-04 00:01:04 -04:00
KWSys Robot ba559a3454 KWSys Nightly Date Stamp 2010-04-03 00:01:03 -04:00
KWSys Robot a63dc3271a KWSys Nightly Date Stamp 2010-04-02 00:01:04 -04:00
KWSys Robot faf30c2502 KWSys Nightly Date Stamp 2010-04-01 00:01:02 -04:00
KWSys Robot e101d9f14e KWSys Nightly Date Stamp 2010-03-31 00:01:05 -04:00
KWSys Robot d0b510900d KWSys Nightly Date Stamp 2010-03-30 00:01:03 -04:00
KWSys Robot 2a2a923ec9 KWSys Nightly Date Stamp 2010-03-29 00:01:04 -04:00
KWSys Robot 7a17b72e2c KWSys Nightly Date Stamp 2010-03-28 00:01:03 -04:00
KWSys Robot 9e74971c5f KWSys Nightly Date Stamp 2010-03-27 00:01:03 -04:00
Dave Partyka 9345833272 BUG: Commit a fix from Rusty to address incorrectly reported memory queries. 2010-03-26 14:18:24 -04:00
KWSys Robot a8abb30c38 KWSys Nightly Date Stamp 2010-03-26 00:01:08 -04:00
KWSys Robot 4273cd9767 KWSys Nightly Date Stamp 2010-03-25 00:01:04 -04:00
KWSys Robot d086218658 KWSys Nightly Date Stamp 2010-03-24 00:01:03 -04:00
KWSys Robot a72b2ccb4c KWSys Nightly Date Stamp 2010-03-23 14:17:23 -04:00
Pat Marion fc4e7dcec0 ENH: Adding symbol for cray compute linux to DynamicLoader.cxx 2010-03-22 10:54:18 -04:00
KWSys Robot 9fd6916362 KWSys Nightly Date Stamp 2010-03-22 00:01:03 -04:00
KWSys Robot 23eb9c9ade KWSys Nightly Date Stamp 2010-03-21 00:01:03 -04:00
KWSys Robot ae58811523 KWSys Nightly Date Stamp 2010-03-20 00:01:03 -04:00
KWSys Robot 40cb9c89d7 KWSys Nightly Date Stamp 2010-03-19 00:01:05 -04:00
Brad King 1560d9dcca KWSys: Enable process tree killing on kFreeBSD
Teach kwsysProcessKill to identify processes on this platform using the "ps"
command just as on Linux.  Patch from Modestas Vainius <modax@debian.org>.
See issue #10432.
2010-03-18 08:43:05 -04:00
KWSys Robot f1d801e4ea KWSys Nightly Date Stamp 2010-03-18 00:01:05 -04:00
KWSys Robot 7f98d73457 KWSys Nightly Date Stamp 2010-03-17 00:01:03 -04:00
KWSys Robot 7881a9f9a6 KWSys Nightly Date Stamp 2010-03-16 00:01:03 -04:00
KWSys Robot 34ebee5922 KWSys Nightly Date Stamp 2010-03-15 00:01:03 -04:00
KWSys Robot 41ee399fa6 KWSys Nightly Date Stamp 2010-03-14 00:01:04 -05:00
KWSys Robot 84df478a31 KWSys Nightly Date Stamp 2010-03-13 00:01:04 -05:00
KWSys Robot b452e65526 KWSys Nightly Date Stamp 2010-03-12 00:01:11 -05:00
KWSys Robot a4f798d3f7 KWSys Nightly Date Stamp 2010-03-11 00:01:04 -05:00
KWSys Robot d8338e491a KWSys Nightly Date Stamp 2010-03-10 00:01:04 -05:00
KWSys Robot f9213722f3 KWSys Nightly Date Stamp 2010-03-09 00:01:04 -05:00
KWSys Robot e67acbfc01 KWSys Nightly Date Stamp 2010-03-08 00:01:08 -05:00
KWSys Robot 98f2170c4a KWSys Nightly Date Stamp 2010-03-07 00:01:06 -05:00
KWSys Robot 71a74b4ba9 KWSys Nightly Date Stamp 2010-03-06 00:01:06 -05:00
KWSys Robot 0922d4f3f2 KWSys Nightly Date Stamp 2010-03-05 00:01:03 -05:00