aboutsummaryrefslogtreecommitdiff
path: root/tests/process/testscript
blob: ee6d7a6024b9844406a929bedb419499fbd5a1c7 (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-2019 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;
$*