diff options
author | Jean Delvare <jdelvare@suse.de> | 2010-01-23 21:23:01 +0100 |
---|---|---|
committer | Jean Delvare <jdelvare@suse.de> | 2010-01-23 21:23:01 +0100 |
commit | f1458bf10fe56cb4f95f446bf35bcd09a55f6ecd (patch) | |
tree | 5fe723da550a121f8556e7bd136d4f58d0ecf374 /test/import2.test | |
parent | b321567c52c9877a1532bf86f328f13620b06c7b (diff) | |
download | quilt-f1458bf10fe56cb4f95f446bf35bcd09a55f6ecd.tar.gz |
Separate working directory for each test case
Let the test suite runner script create a separate working
directory for each test. This makes it possible to run several
tests in parallel, speeding up testing on SMP systems. It also
ensures that a broken test case can no longer cause another test
case to fail.
At this point, it is possible to run the test suite in parallel,
the final result (success or failure) will be correct, however
the output is hardly readable because the progress of all tests
are interlaced. This will be improved later.
As a nice side effect, this means we can drop the setup and
clean-up steps that were present in all test cases.
Diffstat (limited to 'test/import2.test')
-rw-r--r-- | test/import2.test | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/test/import2.test b/test/import2.test index af6a5fd..f839930 100644 --- a/test/import2.test +++ b/test/import2.test @@ -1,8 +1,6 @@ # same as import.test, but with compressed patches - $ rm -rf d - $ mkdir -p d/patches - $ cd d + $ mkdir patches $ quilt new patch1.diff > Patch %{P}patch1.diff is now on top @@ -138,6 +136,3 @@ $ quilt delete patch1.diff.gz > Patch patch1.diff.gz is not in series - - $ cd .. - $ rm -rf d |