diff options
author | Tobias Roeser <le.petit.fou@web.de> | 2019-09-05 10:00:18 +0200 |
---|---|---|
committer | Tobias Roeser <le.petit.fou@web.de> | 2019-09-05 10:00:39 +0200 |
commit | 2cd000083a79bb0cb65ef6734948cebaed3b1c4a (patch) | |
tree | dd59d84427add6a34d46964bc2b67b2685365caf | |
parent | ed8ea584c67f1ab83c488441779356a36d8fa3bb (diff) | |
download | mill-2cd000083a79bb0cb65ef6734948cebaed3b1c4a.tar.gz mill-2cd000083a79bb0cb65ef6734948cebaed3b1c4a.tar.bz2 mill-2cd000083a79bb0cb65ef6734948cebaed3b1c4a.zip |
Print out when tests are skipped
-rw-r--r-- | integration/test/src/CaffeineTests.scala | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/integration/test/src/CaffeineTests.scala b/integration/test/src/CaffeineTests.scala index 56c66b21..49b97a1b 100644 --- a/integration/test/src/CaffeineTests.scala +++ b/integration/test/src/CaffeineTests.scala @@ -8,9 +8,10 @@ class CaffeineTests(fork: Boolean) extends IntegrationTestSuite("MILL_CAFFEINE_R 'test - { // Caffeine only can build using Java 9 or up. Java 8 results in weird // type inference issues during the compile - if (mill.main.client.Util.isJava9OrAbove){ + if (!mill.main.client.Util.isJava9OrAbove) { + println("Skipping caffeine tests for Java version < 9") + } else { assert(eval("caffeine.test.compile")) - val suites = Seq( "com.github.benmanes.caffeine.SingleConsumerQueueTest", "com.github.benmanes.caffeine.cache.AsyncTest", |