forked from speedb-io/speedb
-
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.
makefile: avoid setting TEST_TMPDIR unnecessarily (speedb-io#140)
The changes in speedb-io#119 included an upstream commit that moved the TEST_TMPDIR setting to common.mk and executed it unconditionally. This is causing pollution of /dev/shm unnecessarily, and also causes the crash tests and other targets to use /dev/shm when they originally didn't. On machines with small /dev/shm this leads to the crash tests failing with an out of space error. Make the setting of TEST_TMPDIR and the creation of a temporary directory under it execute only once during a single make invocation and only for the check target, as it was originally. This requires dealing with make restarts (due to makefiles getting remade) in the form of adding another temporary configuration file named test_config.mk
- Loading branch information
1 parent
c13de62
commit 01128bf
Showing
3 changed files
with
22 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
make_config.mk | ||
test_config.mk | ||
rocksdb.pc | ||
|
||
*.a | ||
|
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