tests/blacklists/README
author Nicolas Dumazet <nicdumz.commits@gmail.com>
Thu, 10 Dec 2009 17:21:31 +0900
changeset 10300 c437745f50ec
permissions -rw-r--r--
run-tests: split tests/blacklist in tests/blacklists/* Following discussions with Gilles Morris [1], it seems that it is preferable to use several blacklist files in a blacklists/ directory. It is easier to add an unversioned file for experiments than modifying a tracked file. Also fall back to a simpler syntax, giving up ConfigParser, now that section names are not needed anymore. And allow --blacklist parameter to be a complete path, instead of only one of the filenames contained in tests/blacklists/ [1] http://www.selenic.com/pipermail/mercurial-devel/2009-December/017317.html
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10300
c437745f50ec run-tests: split tests/blacklist in tests/blacklists/*
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
diff changeset
     1
Put here definitions of blacklists for run-tests.py
c437745f50ec run-tests: split tests/blacklist in tests/blacklists/*
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
diff changeset
     2
c437745f50ec run-tests: split tests/blacklist in tests/blacklists/*
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
diff changeset
     3
Create a file per blacklist. Each file should list the names of tests that you
c437745f50ec run-tests: split tests/blacklist in tests/blacklists/*
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
diff changeset
     4
want to be skipped.
c437745f50ec run-tests: split tests/blacklist in tests/blacklists/*
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
diff changeset
     5
File names are meant to be used as targets for run-tests.py --blacklist
c437745f50ec run-tests: split tests/blacklist in tests/blacklists/*
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
diff changeset
     6
option.
c437745f50ec run-tests: split tests/blacklist in tests/blacklists/*
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
diff changeset
     7
Lines starting with # are ignored. White spaces are stripped.
c437745f50ec run-tests: split tests/blacklist in tests/blacklists/*
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
diff changeset
     8
c437745f50ec run-tests: split tests/blacklist in tests/blacklists/*
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
diff changeset
     9
e.g. if you create a blacklist/example file containing:
c437745f50ec run-tests: split tests/blacklist in tests/blacklists/*
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
diff changeset
    10
 test-hgrc
c437745f50ec run-tests: split tests/blacklist in tests/blacklists/*
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
diff changeset
    11
 # some comment
c437745f50ec run-tests: split tests/blacklist in tests/blacklists/*
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
diff changeset
    12
 test-help
c437745f50ec run-tests: split tests/blacklist in tests/blacklists/*
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
diff changeset
    13
then calling "run-tests.py --blacklist blacklists/example" will exclude
c437745f50ec run-tests: split tests/blacklist in tests/blacklists/*
Nicolas Dumazet <nicdumz.commits@gmail.com>
parents:
diff changeset
    14
test-hgrc and test-help from the list of tests to run.