Skip to content

Commit

Permalink
[MCOMPILER-549] Improve log message in case of recompilation - fix je…
Browse files Browse the repository at this point in the history
…nkins build
  • Loading branch information
slawekjaranowski committed Oct 22, 2023
1 parent 628c333 commit cfaf924
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/it/MCOMPILER-275_separate-moduleinfo/verify.groovy
Expand Up @@ -20,7 +20,9 @@ def log = new File( basedir, 'build.log').text

assert log.count( "[INFO] Toolchain in maven-compiler-plugin: JDK" ) == 1

assert log.count( "[INFO] Changes detected - recompiling the module!" ) == 3
assert log.count( "[INFO] Recompiling the module because of changed source code." ) == 1
assert log.count( "[INFO] Recompiling the module because of added or removed source files." ) == 1
assert log.count( "[INFO] Recompiling the module because of changed dependency." ) == 1

// major_version: 52 = java8 -> execution id "base-compile"
assert new File( basedir, 'target/classes/com/foo/MyClass.class' ).bytes[7] == 52
Expand Down

0 comments on commit cfaf924

Please sign in to comment.