aboutsummaryrefslogtreecommitdiffstats
path: root/TestHelper.cpp
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2015-05-07 04:27:24 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2015-05-07 04:27:24 +0800
commitf6d58a2d2557f37c2eb04b03061a261f3ff5850c (patch)
treeb3fa72ee5f2e98103c3590c597b7b404a29eaf70 /TestHelper.cpp
parent7881b69f62f9225612a3b975e90cf5242b9690d5 (diff)
parente66e225827624ccaaf88f4897715e6e5032849e0 (diff)
downloaddexon-solidity-f6d58a2d2557f37c2eb04b03061a261f3ff5850c.tar
dexon-solidity-f6d58a2d2557f37c2eb04b03061a261f3ff5850c.tar.gz
dexon-solidity-f6d58a2d2557f37c2eb04b03061a261f3ff5850c.tar.bz2
dexon-solidity-f6d58a2d2557f37c2eb04b03061a261f3ff5850c.tar.lz
dexon-solidity-f6d58a2d2557f37c2eb04b03061a261f3ff5850c.tar.xz
dexon-solidity-f6d58a2d2557f37c2eb04b03061a261f3ff5850c.tar.zst
dexon-solidity-f6d58a2d2557f37c2eb04b03061a261f3ff5850c.zip
Merge branch 'develop' into v8console
Diffstat (limited to 'TestHelper.cpp')
-rw-r--r--TestHelper.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/TestHelper.cpp b/TestHelper.cpp
index eecf6f80..144a1a28 100644
--- a/TestHelper.cpp
+++ b/TestHelper.cpp
@@ -715,11 +715,10 @@ Options::Options()
vmtrace = true;
else if (arg == "--filltests")
fillTests = true;
- else if (arg.compare(0, 7, "--stats") == 0)
+ else if (arg == "--stats" && i + 1 < argc)
{
stats = true;
- if (arg.size() > 7)
- statsOutFile = arg.substr(8); // skip '=' char
+ statsOutFile = argv[i + 1];
}
else if (arg == "--performance")
performance = true;
@@ -741,6 +740,11 @@ Options::Options()
inputLimits = true;
bigData = true;
}
+ else if (arg == "--singletest" && i + 1 < argc)
+ {
+ singleTest = true;
+ singleTestName = argv[i + 1];
+ }
}
}