From 22d05ebfdbb409530fb20133cf150fb4c419faac Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Sun, 20 Dec 2015 13:51:28 -0500 Subject: Add --data-dir option to test command Understand using '-' on the command line to mean stdin Fix last few unit tests that wanted to write to the filesystem; removes outdata directory. --- src/tests/test_modes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tests/test_modes.cpp') diff --git a/src/tests/test_modes.cpp b/src/tests/test_modes.cpp index cc1645e92..7b6344975 100644 --- a/src/tests/test_modes.cpp +++ b/src/tests/test_modes.cpp @@ -18,7 +18,7 @@ class Cipher_Mode_Tests : public Text_Based_Test { public: Cipher_Mode_Tests() : - Text_Based_Test(Test::data_dir("modes"), {"Key", "Nonce", "In", "Out"}) + Text_Based_Test("modes", {"Key", "Nonce", "In", "Out"}) {} Test::Result run_one_test(const std::string& algo, const VarMap& vars) override -- cgit v1.2.3