Minor, expand TESTDATA_DIR with absolute path in CLI tests

To be able to use it correctly inside an xml build file where, if the
path is not absolute, it's treated as relative to the build file path
(which is TMP_DIR in several tests of the subsequent commit)
This commit is contained in:
Alexander Udalov
2018-08-02 15:00:15 +02:00
parent f9ed8e7aaf
commit 19feacb96b
7 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
error: cannot open output file 'compiler/testData/cli/js': is a directory
error: cannot open output file '$TESTDATA_DIR$': is a directory
COMPILATION_ERROR
+1 -1
View File
@@ -1,2 +1,2 @@
error: file 'compiler/testData/cli/js/wrongAbiVersionLib/wrongAbiLib.meta.js' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 0.0.0, expected version is $ABI_VERSION$
error: file '$TESTDATA_DIR$/wrongAbiVersionLib/wrongAbiLib.meta.js' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 0.0.0, expected version is $ABI_VERSION$
COMPILATION_ERROR