Skip to content

Commit

Permalink
[t/spec] README: section about CWD in test files
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.pugscode.org/pugs@26636 c213334d-75ef-0310-aa23-eaa082d1ae64
  • Loading branch information
moritz committed May 3, 2009
1 parent 25b9135 commit cbe775a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README
Expand Up @@ -91,3 +91,8 @@ to run, where unfudged tests are just passed through unchanged as *.t.
Each test comes through as either fudged or not, but never both.
The test harness then runs the selected test files as it normally
would (it shouldn't care whether they are named *.t or *.humpty).


In cases where the current working directory makes a difference, the tests
assume that the working directory is the root of the test suite, so that the
relative path to itself is t/spec/S\d\d-$section/$filename.
1 change: 1 addition & 0 deletions S06-advanced_subroutine_features/return_function.t
Expand Up @@ -22,3 +22,4 @@ use Test; plan 4;
is($rv2, Pair, "returned Pair object 2");
}

# vim: ft=perl6

0 comments on commit cbe775a

Please sign in to comment.