ldc/tests/linking/ir2obj_cache_pruning.d
Johan Engelen 9dc58a76a6 Lit: stop using %T and use %t-dir instead. (#2277)
The %T substitution will be removed from Lit.
Resolves issue #2274
2017-08-17 21:38:35 +02:00

13 lines
545 B
D

// Test recognition of -cache-prune-* commandline flags
// RUN: %ldc %s -cache=%t-dir -cache-prune
// RUN: %ldc %s -cache=%t-dir -cache-prune-interval=10 -cache-prune-maxbytes=10000
// RUN: %ldc %s -cache=%t-dir -cache-prune -cache-prune-interval=0
// RUN: %ldc %s -cache=%t-dir -cache-prune -cache-prune-maxbytes=10000
// RUN: %ldc %s -cache=%t-dir -cache-prune -cache-prune-expiration=10000
// RUN: %ldc %s -cache=%t-dir -cache-prune-maxpercentage=50
// RUN: %ldc %s -cache=%t-dir -cache-prune -cache-prune-maxpercentage=150
void main()
{
}