aboutsummaryrefslogtreecommitdiff
path: root/tests/process/testscript
blob: c734a0597acaf3e764a1d7ecdd42f3d77b5a5e87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# file      : tests/process/testscript
# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
# license   : MIT; see accompanying LICENSE file

if ($cxx.target.class == 'windows')
  cat <<EOI >=test.bat
    @echo off
    setlocal
    goto end
    :error
    endlocal
    exit /b 1
    :end
    endlocal
    EOI
end;
$*