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