diff options
author | Cyril Hrubis <chrubis@suse.cz> | 2014-06-10 13:49:05 +0200 |
---|---|---|
committer | Cyril Hrubis <chrubis@suse.cz> | 2014-06-10 14:15:22 +0200 |
commit | 1dbf0b4a70c0ef7c849a0b3cd42da2c3874f9432 (patch) | |
tree | 2459d246cda4839136c2c24a6868c3f7bc0587ee /lib/ltp_priv.h | |
parent | 3492b03c1e86370d719328aa4abefac14fd27c6f (diff) |
lib: Remove -c option and STD_COPIES
Remove -c option that was never working correctly.
The -c option, if set, forks the test in test setup() creating several
instances of the test to be running at the same time. The problems with
the implementation were:
* The failure of the forked tests WAS NOT popagaged to the first
instance
* The test driver (ltp-pan) tracks only the first instance and kills the
rest of the tests instances once the first one finishes
* Most of the tests does not expect to be running concurently
(there are races in using the same test directory, loop devices, etc.)
While the first two would be easy to fix the last one would require
reviewing and testing all testcases which is too much work.
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
Diffstat (limited to 'lib/ltp_priv.h')
-rw-r--r-- | lib/ltp_priv.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/ltp_priv.h b/lib/ltp_priv.h index 7d13694bb..8fec67f2b 100644 --- a/lib/ltp_priv.h +++ b/lib/ltp_priv.h @@ -41,6 +41,5 @@ const char *tst_get_startwd(void); #define USC_LOOP_WALLTIME "USC_LOOP_WALLTIME" #define USC_NO_FUNC_CHECK "USC_NO_FUNC_CHECK" #define USC_LOOP_DELAY "USC_LOOP_DELAY" -#define USC_COPIES "USC_COPIES" #endif /* __LTP_PRIV_H__ */ |