diff options
author | Andres Noetzli <andres.noetzli@gmail.com> | 2019-06-21 10:55:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-21 10:55:03 -0700 |
commit | cf9dfb9be23b4f802989fecd18756ed62aecc8e4 (patch) | |
tree | 3f1f45759bf85b451b458aab98cf62892f7aef17 /test | |
parent | 073335156ff7644364d12a91d4d41af776cfb91b (diff) |
Use TMPDIR environment variable for temp files (#2849)
Previously, we were just writing temporary files to `/tmp/` but this
commit allows the user to use the `TMPDIR` environment variable to
determine which directory the temporary file should be written to. The
commit adds a helper function for this and also includes some minor
cleanup of existing code.
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/proof/lrat_proof_black.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/unit/proof/lrat_proof_black.h b/test/unit/proof/lrat_proof_black.h index 398c551fe..b4b41922f 100644 --- a/test/unit/proof/lrat_proof_black.h +++ b/test/unit/proof/lrat_proof_black.h @@ -22,10 +22,11 @@ #include "prop/sat_solver_types.h" #include "utils.h" +using namespace CVC4; using namespace CVC4::proof::lrat; using namespace CVC4::prop; -class LfscProofBlack : public CxxTest::TestSuite +class LratProofBlack : public CxxTest::TestSuite { public: void setUp() override {} @@ -34,7 +35,7 @@ class LfscProofBlack : public CxxTest::TestSuite void testOutputAsLfsc(); }; -void LfscProofBlack::testOutputAsLfsc() +void LratProofBlack::testOutputAsLfsc() { std::vector<std::unique_ptr<LratInstruction>> instructions; |