[PATCH] run-tests: skip threading for a single test (issue5040)

timeless timeless at gmail.com
Wed Jan 13 23:32:26 CST 2016


Matt Harbison wrote:
> Windows didn't like the test you added though.  (I was a little surprised
> that `kill` was available on Windows.)  I don't have time to look at it
> tonight:

> @@ -623,8 +623,8 @@
>    >   touch tasks/$TASK
>    > }
>    $ rtt --runs-per-test=200
> +  rm: cannot remove directory `tasks/': Is a directory

That's from:
+  >   TASK=`ls tasks | head -1`
+  >   rm tasks/$TASK
It means that there wasn't anything in the tasks directory.
I can add a 2> /dev/null to the rm line.

You'd still fail here:
>    $ ls tasks
> -  * (glob)

And we should figure out why.

>    $ rtt --loop
>    $ ls tasks
>    * (glob)


More information about the Mercurial-devel mailing list