summaryrefslogtreecommitdiff
path: root/support/arara/source/src/test/resources/executiontests/halt-error
diff options
context:
space:
mode:
Diffstat (limited to 'support/arara/source/src/test/resources/executiontests/halt-error')
-rw-r--r--support/arara/source/src/test/resources/executiontests/halt-error/arararc.yaml3
-rw-r--r--support/arara/source/src/test/resources/executiontests/halt-error/echoone.yaml10
-rw-r--r--support/arara/source/src/test/resources/executiontests/halt-error/echotwo.yaml10
-rw-r--r--support/arara/source/src/test/resources/executiontests/halt-error/halt-error.tex5
-rw-r--r--support/arara/source/src/test/resources/executiontests/halt-error/halt.yaml16
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: []