diff options
author | Sven Gothel <[email protected]> | 2023-11-28 03:56:33 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-11-28 03:56:33 +0100 |
commit | c8cb87e17a14281a9d0e2f311b8534ecb7ac00b4 (patch) | |
tree | dcbce53804b54a224061e24a3217e600f04fc493 /make/scripts/runtest-x64.bat | |
parent | c7efca6d9b0db7305f5352ebf15d915ae5a1fa24 (diff) |
Bug 1474: Allow temp folder for exe-file test to contain parenthesis on Windows
If the temp path contains parenthesis on Windows, e.g. the username or the sub-temp folder,
the used exeTestFile.getCanonicalPath() can't be used by 'Runtime.getRuntime().exec( path )'.
Example: C:\Users\(ABC)abc\AppData\Local\Temp
Output: Exe-Tst: 'C:\Users\' is not recognized as an internal or external command, operable program or batch file.
Hence the complete canonical path must be quoted, i.e.
Path: "C:\Users\(ABC)abc\AppData\Local\Temp"
Diffstat (limited to 'make/scripts/runtest-x64.bat')
-rwxr-xr-x | make/scripts/runtest-x64.bat | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/make/scripts/runtest-x64.bat b/make/scripts/runtest-x64.bat index 21d7f78..b8bd437 100755 --- a/make/scripts/runtest-x64.bat +++ b/make/scripts/runtest-x64.bat @@ -1,14 +1,15 @@ -REM set TEMP=C:\Documents and Settings\jogamp\temp-exec -REM set TMP=C:\Documents and Settings\jogamp\temp-exec -REM set TEMP=C:\Users\jogamp\temp-exec -REM set TMP=C:\Users\jogamp\temp-exec +REM set TEMP=C:\Documents and Settings\test\temp-exec +REM set TMP=C:\Documents and Settings\test\temp-exec +REM set TEMP=C:\Users\test\temp-exec +REM set TMP=C:\Users\test\temp-exec +REM set TMP=C:\Users\test\(ABC)abc\temp -REM scripts\java-win64.bat com.jogamp.common.GlueGenVersion +scripts\java-win64.bat com.jogamp.common.GlueGenVersion REM scripts\java-win64.bat com.jogamp.common.util.TestVersionInfo REM scripts\java-win64.bat com.jogamp.gluegen.jcpp.IncludeAbsoluteTest -scripts\java-win64.bat com.jogamp.gluegen.test.junit.generation.TestJCPP +REM scripts\java-win64.bat com.jogamp.gluegen.test.junit.generation.TestJCPP REM scripts\java-win64.bat com.jogamp.gluegen.test.junit.generation.TestCParser REM scripts\java-win64.bat com.jogamp.gluegen.test.junit.generation.Test1p1JavaEmitter |