Navigation Menu

Skip to content

Commit

Permalink
[PATCH 4/4] Trivial test harness fixes.
Browse files Browse the repository at this point in the history
The documentation of the test harness still refer to old
numbering and also contains an obvious typo.

Also "make test" should be run after making sure we have built
all binaries, since test is designed to test the newly built
ones.

Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Petr Baudis <pasky@ucw.cz>
  • Loading branch information
Junio C Hamano authored and Petr Baudis committed May 15, 2005
1 parent 7ab6f3d commit 14cd1ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -120,7 +120,7 @@ diff.o: $(LIB_H)
strbuf.o: $(LIB_H)
gitenv.o: $(LIB_H)

test:
test: all
make -C t/ all

clean:
Expand Down
5 changes: 3 additions & 2 deletions t/README
Expand Up @@ -32,7 +32,7 @@ the tests.
Or you can run each test individually from command line, like
this:

$ sh ./t0500-ls-files.sh
$ sh ./t3001-ls-files-killed.sh
* ok 1: git-update-cache --add to add various paths.
* ok 2: git-ls-files -k to show killed files.
* ok 3: validate git-ls-files -k output.
Expand Down Expand Up @@ -92,7 +92,7 @@ assignment to variable 'test_description', like this:
# Copyright (c) 2005 Junio C Hamano
#

test_description=xxx test (option --frotz)
test_description='xxx test (option --frotz)

This test registers the following structure in the cache
and tries to run git-ls-files with option --frotz.'
Expand Down Expand Up @@ -120,6 +120,7 @@ This test harness library does the following things:
consistently when command line arguments --verbose (or -v),
--debug (or -d), and --immediate (or -i) is given.


End with test_done
------------------

Expand Down

0 comments on commit 14cd1ff

Please sign in to comment.