diff options
author | Norbert Preining <norbert@preining.info> | 2020-03-05 03:00:59 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-03-05 03:00:59 +0000 |
commit | 898048513951b471a492afa23e46112d14bcb236 (patch) | |
tree | 8596afc705f55d2d07b324a756f7283ac0e2d21b /support/arara/source/src/test/resources/executiontests/halt-error | |
parent | 19d25b8009801aa98ea2f46b45c37c257f990491 (diff) |
CTAN sync 202003050300
Diffstat (limited to 'support/arara/source/src/test/resources/executiontests/halt-error')
5 files changed, 44 insertions, 0 deletions
diff --git a/support/arara/source/src/test/resources/executiontests/halt-error/arararc.yaml b/support/arara/source/src/test/resources/executiontests/halt-error/arararc.yaml new file mode 100644 index 0000000000..54afa4c5fc --- /dev/null +++ b/support/arara/source/src/test/resources/executiontests/halt-error/arararc.yaml @@ -0,0 +1,3 @@ +!config +paths: + - './'
\ No newline at end of file diff --git a/support/arara/source/src/test/resources/executiontests/halt-error/echoone.yaml b/support/arara/source/src/test/resources/executiontests/halt-error/echoone.yaml new file mode 100644 index 0000000000..7c304b991f --- /dev/null +++ b/support/arara/source/src/test/resources/executiontests/halt-error/echoone.yaml @@ -0,0 +1,10 @@ +!config +identifier: echoone +name: Test rule for conditionals 1 +commands: + - name: The echoer + command: > + @{ + return getCommand('echo', 'QuackOne'); + } +arguments: [] diff --git a/support/arara/source/src/test/resources/executiontests/halt-error/echotwo.yaml b/support/arara/source/src/test/resources/executiontests/halt-error/echotwo.yaml new file mode 100644 index 0000000000..61915393b5 --- /dev/null +++ b/support/arara/source/src/test/resources/executiontests/halt-error/echotwo.yaml @@ -0,0 +1,10 @@ +!config +identifier: echotwo +name: Test rule for conditionals 2 +commands: + - name: The echoer + command: > + @{ + return getCommand('echo', 'QuackTwo'); + } +arguments: [] diff --git a/support/arara/source/src/test/resources/executiontests/halt-error/halt-error.tex b/support/arara/source/src/test/resources/executiontests/halt-error/halt-error.tex new file mode 100644 index 0000000000..cf8d291ccf --- /dev/null +++ b/support/arara/source/src/test/resources/executiontests/halt-error/halt-error.tex @@ -0,0 +1,5 @@ +% arara: echoone +% arara: halt +% arara: echotwo +Quack +\bye
\ No newline at end of file diff --git a/support/arara/source/src/test/resources/executiontests/halt-error/halt.yaml b/support/arara/source/src/test/resources/executiontests/halt-error/halt.yaml new file mode 100644 index 0000000000..53df1a295b --- /dev/null +++ b/support/arara/source/src/test/resources/executiontests/halt-error/halt.yaml @@ -0,0 +1,16 @@ +!config +# Arara, the cool TeX automation tool +# Copyright (c) 2018, Paulo Roberto Massa Cereda +# All rights reserved. +# +# This rule is part of arara. +identifier: halt +name: Halt +commands: + - name: The halt trigger + command: > + @{ + halt(1); + return true; + } +arguments: [] |