diff --git a/scripts/update_app_environments.jl b/scripts/update_app_environments.jl index 4dc14e3..556ab5d 100644 --- a/scripts/update_app_environments.jl +++ b/scripts/update_app_environments.jl @@ -22,3 +22,15 @@ end version_path = normpath(joinpath(@__DIR__, "../testprocess/environments/fallback")) mkpath(version_path) run(Cmd(`julia +nightly --project=. -e 'using Pkg; Pkg.develop(PackageSpec(path="../../TestItemServer"))'`, dir=version_path)) + +function replace_backslash_in_manifest(version) + filename = joinpath(@__DIR__, "../testprocess/environments/v$version/Manifest.toml") + manifest_content = read(filename, String) + + new_content = replace(manifest_content, "\\\\"=>'/') + + write(filename, new_content) +end + +replace_backslash_in_manifest("1.0") +replace_backslash_in_manifest("1.1") diff --git a/testprocess/app/testserver_precompile.jl b/testprocess/app/testserver_precompile.jl index c73e07d..b439d09 100644 --- a/testprocess/app/testserver_precompile.jl +++ b/testprocess/app/testserver_precompile.jl @@ -32,7 +32,7 @@ let if has_error_handler global_err_handler(err, bt, Base.ARGS[2], "Test Process") else - Base.display_error(err, bt) + rethrow(err) end end end diff --git a/testprocess/environments/v1.0/Manifest.toml b/testprocess/environments/v1.0/Manifest.toml index 57d88c4..453de2d 100644 --- a/testprocess/environments/v1.0/Manifest.toml +++ b/testprocess/environments/v1.0/Manifest.toml @@ -67,7 +67,7 @@ uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [[TestItemServer]] deps = ["Base64", "Dates", "Distributed", "FileWatching", "InteractiveUtils", "LibGit2", "Logging", "Mmap", "Pkg", "REPL", "Random", "Sockets", "Test", "UUIDs", "Unicode"] -path = "..\\..\\TestItemServer" +path = "../../TestItemServer" uuid = "1076c532-7f93-4758-ac65-93afa8eae143" version = "1.0.0" diff --git a/testprocess/environments/v1.1/Manifest.toml b/testprocess/environments/v1.1/Manifest.toml index 65cbea1..7c32749 100644 --- a/testprocess/environments/v1.1/Manifest.toml +++ b/testprocess/environments/v1.1/Manifest.toml @@ -62,7 +62,7 @@ uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [[TestItemServer]] deps = ["Base64", "Dates", "Distributed", "FileWatching", "InteractiveUtils", "LibGit2", "Logging", "Mmap", "Pkg", "REPL", "Random", "Sockets", "Test", "UUIDs", "Unicode"] -path = "..\\..\\TestItemServer" +path = "../../TestItemServer" uuid = "1076c532-7f93-4758-ac65-93afa8eae143" version = "1.0.0"