Mercurial > hg
annotate tests/blacklists/linux-vfat @ 21754:7e14d026c4c4
run-tests: fixes the '--interactive' option error
This patch fixes a regression recently introduced by a refactoring.
Previously when failure occurs while testing with '--interactive' was enable,
it didn't prompt user by asking whether he wants to accept this failure
changes or not.
This was happening beacuse of the 'if' condition
if ret or not self._options.interactive or \
not os.path.exists(test.errpath):
Everytime failure occurs, this condition gets true and returns back even
when '--interactive' is enabled. This condition don't led the function to
execute further, which consist the '--interactive' functionality.
Now, on failure with '--interactive' enabled, it prompts user whether he wants
to accepts failure changes or not.
If yes then test gets passed and returns true, else test gets failed.
On every failure, results gets stored in "self.failures.append((test, reason))"
But if failure changes accepted by user then test must get "pop out" from
failed test list.
author | anuraggoel <anurag.dsps@gmail.com> |
---|---|
date | Fri, 13 Jun 2014 14:45:23 +0530 |
parents | 352abbb0be88 |
children |
rev | line source |
---|---|
16339
6e738a0a3393
tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
1 # invalid filenames |
6e738a0a3393
tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
2 test-add.t |
6e738a0a3393
tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
3 test-init.t |
6e738a0a3393
tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
4 test-clone.t |
6e738a0a3393
tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
5 test-contrib.t |
6e738a0a3393
tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
6 test-hgweb-raw.t |
6e738a0a3393
tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
7 test-walk.t |
6e738a0a3393
tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
8 |
6e738a0a3393
tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
9 # no sockets or fifos |
6e738a0a3393
tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
10 test-hup.t |
6e738a0a3393
tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
11 |
6e738a0a3393
tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
12 # no hardlinks |
6e738a0a3393
tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
13 test-hardlinks.t |
6e738a0a3393
tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
14 test-relink.t |
6e738a0a3393
tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
15 |
6e738a0a3393
tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
16 # exec bit problems |
6e738a0a3393
tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
17 test-convert-bzr-114.t |
6e738a0a3393
tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
18 test-convert-bzr-directories.t |
6e738a0a3393
tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
19 test-convert-bzr-merges.t |
6e738a0a3393
tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
20 test-convert-bzr-treeroot.t |
6e738a0a3393
tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
21 test-convert-darcs.t |
6e738a0a3393
tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
22 test-merge-tools.t |
6e738a0a3393
tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
23 |
6e738a0a3393
tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
24 # debugstate exec bit false positives |
6e738a0a3393
tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
25 test-dirstate.t |
6e738a0a3393
tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
26 test-filebranch.t |
6e738a0a3393
tests: really add blacklist for vfat on Linux
Matt Mackall <mpm@selenic.com>
parents:
diff
changeset
|
27 test-merge-remove.t |