mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Not all the tests are possible to run on Windows since they expect a Unix-like shell environment. However, the rest of the tests can be accommodated. This actually found an issue in the implementation. Since the implementation assumes the target is POSIX/Unix-y, we should use posixpath rather than os.path which uses the host's path style.
9 lines
412 B
Plaintext
9 lines
412 B
Plaintext
REQUIRES: shell
|
|
|
|
RUN: env REMOTE_RUN_CHILD_FOO=foo REMOTE_RUN_CHILD_BAR=bar %debug-remote-run sh -c 'echo ":${FOO}:" ":${BAR}:"' | %FileCheck %s
|
|
RUN: env REMOTE_RUN_CHILD_FOO=foo REMOTE_RUN_CHILD_BAR=bar %debug-remote-run -v sh -c 'echo ":${FOO}:" ":${BAR}:"' 2>&1 >/dev/null | %FileCheck -check-prefix VERBOSE %s
|
|
|
|
CHECK: {{^:foo: :bar:$}}
|
|
|
|
VERBOSE: /usr/bin/env FOO=foo BAR=bar sh -c echo ":${FOO}:" ":${BAR}:"
|