From 020294fca9a7065d4b9cf4e677f606ebaaa29b00 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sat, 13 Apr 2024 10:39:45 +0200 Subject: Better test runner (#3922) --- tests/suite/scripting/modules/chap1.typ | 8 ++++++++ tests/suite/scripting/modules/chap2.typ | 10 ++++++++++ tests/suite/scripting/modules/cycle1.typ | 5 +++++ tests/suite/scripting/modules/cycle2.typ | 5 +++++ 4 files changed, 28 insertions(+) create mode 100644 tests/suite/scripting/modules/chap1.typ create mode 100644 tests/suite/scripting/modules/chap2.typ create mode 100644 tests/suite/scripting/modules/cycle1.typ create mode 100644 tests/suite/scripting/modules/cycle2.typ (limited to 'tests/suite/scripting/modules') diff --git a/tests/suite/scripting/modules/chap1.typ b/tests/suite/scripting/modules/chap1.typ new file mode 100644 index 00000000..13d0acf8 --- /dev/null +++ b/tests/suite/scripting/modules/chap1.typ @@ -0,0 +1,8 @@ +// SKIP +#let name = "Klaus" + +== Chapter 1 +#name stood in a field of wheat. There was nothing of particular interest about +the field #name just casually surveyed for any paths on which the corn would not +totally ruin his semi-new outdorsy jacket but then again, most of us spend +considerable time in non-descript environments. diff --git a/tests/suite/scripting/modules/chap2.typ b/tests/suite/scripting/modules/chap2.typ new file mode 100644 index 00000000..9c9d12d7 --- /dev/null +++ b/tests/suite/scripting/modules/chap2.typ @@ -0,0 +1,10 @@ +// SKIP +#let name = "Klaus" + +== Chapter 2 +Their motivations, however, were pretty descript, so to speak. #name had not yet +conceptualized their consequences, but that should change pretty quickly. #name +approached the center of the field and picked up a 4-foot long disk made from +what could only be cow manure. The hair on the back of #name' neck bristled as +he stared at the unusual sight. After studying the object for a while, he +promptly popped the question, "How much?" diff --git a/tests/suite/scripting/modules/cycle1.typ b/tests/suite/scripting/modules/cycle1.typ new file mode 100644 index 00000000..0f924ac7 --- /dev/null +++ b/tests/suite/scripting/modules/cycle1.typ @@ -0,0 +1,5 @@ +// SKIP +#import "cycle2.typ": * +#let inaccessible = "wow" + +This is the first element of an import cycle. diff --git a/tests/suite/scripting/modules/cycle2.typ b/tests/suite/scripting/modules/cycle2.typ new file mode 100644 index 00000000..69eb2033 --- /dev/null +++ b/tests/suite/scripting/modules/cycle2.typ @@ -0,0 +1,5 @@ +// SKIP +#import "cycle1.typ": * +#let val = "much cycle" + +This is the second element of an import cycle. -- cgit v1.2.3