forked from haskell/directory
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow test parameters to be overriden via command-line arguments
Arguments of the form 'key=value' are accepted by test program. Currently, the following arguments are accepted: - silent=yes|no* (corresponds to testSilent in TestEnv) - keep-dirs=yes|no* (corresponds to testKeepDirs in TestEnv) - CreateDirectoryIfMissing001.num-repeats=<int> (10000*) - CreateDirectoryIfMissing001.num-threads=<int> (4*) * Default value. To keep the implementation simple, superfluous arguments or invalid arguments are silently ignored.
- Loading branch information
1 parent
27bfd06
commit 7ca0ab3
Showing
3 changed files
with
86 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#define T(expect) (T./**/expect _t __FILE__ __LINE__) | ||
#define T(f) (T./**/f _t __FILE__ __LINE__) | ||
|
||
import Util (TestEnv) | ||
import qualified Util as T |