Skip to content

Commit 274c6d6

Browse files
committed
test examples in doc/Programs/00-running.pod6
(... which are for now all skipped)
1 parent 116c879 commit 274c6d6

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

doc/Programs/00-running.pod6

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
77
=head1 SYNOPSIS
88
9+
=for code :skip-test
910
perl6 [switches] [--] [programfile] [arguments]
1011
1112
=head1 DESCRIPTION
@@ -14,7 +15,7 @@ With no arguments, enters a REPL. With a C<[programfile]> or the C<-e>
1415
option, compiles the given program and, by default, also executes the
1516
compiled code.
1617
17-
=begin code
18+
=begin code :skip-test
1819
1920
Option Purpose
2021
====== ==============================================
@@ -50,7 +51,7 @@ compiled code.
5051
Note that only boolean single-letter options may be bundled.
5152
5253
To modify the include path, you can set the PERL6LIB environment variable:
53-
=begin code
54+
=begin code :skip-test
5455
PERL6LIB="lib" perl6 example.pl
5556
=end code
5657
@@ -86,7 +87,7 @@ Other variables are listed in Rakudo's github wiki: L<https://github.com/rakudo/
8687
8788
=item C<RAKUDOLIB>, C<PERL6LIB> (I<Str>; C<src/core/Inc.pm>)
8889
89-
Appends a comma-delimited list of paths to C<@INC>. C<RAKUDOLIB> is evaluated first.
90+
Appends a comma-delimited list of paths to C<@INC>. C<RAKUDOLIB> is evaluated first.
9091
9192
=defn C<RAKUDO_MODULE_DEBUG> (I<Bool>; C<src/Perl6/ModuleLoader.pm>)
9293
Causes the module loader to print debugging information to standard error.
@@ -166,13 +167,15 @@ semicolon-delimited list.
166167
When set to a true value will cause timing information to be printed when
167168
the test suite is running:
168169
170+
=begin code :skip-test
169171
$ PERL6_TEST_TIMES=1 perl6 -MTest -e 'plan 2; is sleep(2), Nil; nok sleep(.5)'
170172
1..2
171173
# between two timestamps 1 microseconds
172174
ok 1 -
173175
# t=2000562
174176
ok 2 -
175177
# t=500388
178+
=end code
176179
177180
The C<# between two timestamps> is printed when C<plan> is called and
178181
indicates how long it takes
@@ -189,6 +192,7 @@ message will not be displayed and the first C<# t=> value will be a C<NaN>.
189192
When set to a true value will cause the test suite to abort on first failure,
190193
even if there are more tests to be run:
191194
195+
=for code :skip-test
192196
$ PERL6_TEST_DIE_ON_FAIL=1 perl6 t/test-filename.t
193197
194198
=defn C<RAKUDO_OPTIMIZER_DEBUG>, (I<Bool>; C<src/Perl6/Optimizer.nqp>)

xt/examples-compilation.t

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ if @*ARGS {
3232
| 'Language/tables.p6'
3333
| 'Language/testing.p6'
3434
| 'Language/traps.p6'
35-
| 'Programs/00-running.p6'
3635
| 'Programs/01-debugging.p6'
3736
/,
3837
);

0 commit comments

Comments
 (0)