Don't log content of module.xml when Logger is not initialized

When Logger is not initialized it returns default logger which prints to stdout and stderr,
so it can lead to different results when run CLI tests locally and on TC.
This commit is contained in:
Zalim Bashorov
2017-04-11 15:17:16 +03:00
parent 43c084fde3
commit 56d3f90a02
2 changed files with 1 additions and 23 deletions
-22
View File
@@ -1,25 +1,3 @@
WARN: Source file or directory not found: $TESTDATA_DIR$/nonexistentFile.kt
module file path: compiler/testData/cli/jvm/nonexistentPathInModule.xml
content:
<modules>
<module name="name" outputDir="whatever" type="java-production">
<sources path="nonexistentFile.kt"/>
<sources path="some/nonexistent/dir/"/>
</module>
</modules>
WARN: Source file or directory not found: $TESTDATA_DIR$/some/nonexistent/dir
module file path: compiler/testData/cli/jvm/nonexistentPathInModule.xml
content:
<modules>
<module name="name" outputDir="whatever" type="java-production">
<sources path="nonexistentFile.kt"/>
<sources path="some/nonexistent/dir/"/>
</module>
</modules>
error: source file or directory not found: $TESTDATA_DIR$/nonexistentFile.kt
error: source file or directory not found: $TESTDATA_DIR$/some/nonexistent/dir
COMPILATION_ERROR