Minor, use TEMP_DIR/TESTDATA_DIR in CLI tests on xml build files

Otherwise the "outputDir" in these tests was treated as relative to the
project root, and starting from 63b4302cea, running these tests resulted
in the "whatever" directory being created in the project root
This commit is contained in:
Alexander Udalov
2018-08-02 15:02:16 +02:00
parent 19feacb96b
commit fe829add44
3 changed files with 34 additions and 24 deletions

View File

@@ -1,6 +1,6 @@
<modules>
<module name="name" outputDir="whatever" type="java-production">
<sources path="nonexistentFile.kt"/>
<sources path="some/nonexistent/dir/"/>
<module name="name" outputDir="$TEMP_DIR$/whatever" type="java-production">
<sources path="$TESTDATA_DIR$/nonexistentFile.kt"/>
<sources path="$TESTDATA_DIR$/some/nonexistent/dir/"/>
</module>
</modules>