summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2017-06-23 17:13:51 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2017-06-23 17:13:51 +0000
commit30aaa2f3f6a2c2e6f62821c73655e36b152b93d9 (patch)
treeca5df392075d73694939779a7a828434b539baec /llvm/unittests/Support
parent36d43dd9588b7b53162fafeb5646daaf07891fd5 (diff)
downloadbcm5719-llvm-30aaa2f3f6a2c2e6f62821c73655e36b152b93d9.tar.gz
bcm5719-llvm-30aaa2f3f6a2c2e6f62821c73655e36b152b93d9.zip
Make the size specification for cache_size_bytes case insensitive.
llvm-svn: 306129
Diffstat (limited to 'llvm/unittests/Support')
-rw-r--r--llvm/unittests/Support/CachePruningTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Support/CachePruningTest.cpp b/llvm/unittests/Support/CachePruningTest.cpp
index 97d554eabc3..1bb57871925 100644
--- a/llvm/unittests/Support/CachePruningTest.cpp
+++ b/llvm/unittests/Support/CachePruningTest.cpp
@@ -59,7 +59,7 @@ TEST(CachePruningPolicyParser, MaxSizeBytes) {
ASSERT_TRUE(bool(P));
EXPECT_EQ(75u, P->MaxSizePercentageOfAvailableSpace);
EXPECT_EQ(3u * 1024u * 1024u, P->MaxSizeBytes);
- P = parseCachePruningPolicy("cache_size_bytes=4g");
+ P = parseCachePruningPolicy("cache_size_bytes=4G");
ASSERT_TRUE(bool(P));
EXPECT_EQ(75u, P->MaxSizePercentageOfAvailableSpace);
EXPECT_EQ(4ull * 1024ull * 1024ull * 1024ull, P->MaxSizeBytes);
OpenPOWER on IntegriCloud