You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Running the generated tests on Windows fails due to single quotes in the compile command.
To Reproduce
Steps to reproduce the behavior (on Windows):
Run TestSpark via Run IDE for UI Test
Generate tests with TestSpark for an arbitrary Java class
Hit Run All
The IDE gives the following error in the console output:
INFO org.jetbrains.research.testspark.core.test.java.JavaTestCompiler - Exit code: '1'; Execution message: 'The filename, directory name, or volume label syntax is incorrect.
Additional context
The issue is due to the single quotes introduced in Add quotes around compilers' filepaths #389. My fix for Windows was to replace "'$javac'", with "\"$javac\"", (double quotes instead of single quotes). I don't know if the replacement breaks the in macOS / Linux.
I only tested it for Java, not for Kotlin, but I expect the same behavior.
The text was updated successfully, but these errors were encountered:
Describe the bug
Running the generated tests on Windows fails due to single quotes in the compile command.
To Reproduce
Steps to reproduce the behavior (on Windows):
Additional context
"'$javac'",
with"\"$javac\"",
(double quotes instead of single quotes). I don't know if the replacement breaks the in macOS / Linux.The text was updated successfully, but these errors were encountered: