darcs

Patch 2249 tests/lib: make 'not' fail if command re... (and 1 more)

Title tests/lib: make 'not' fail if command re... (and 1 more)
Superseder Nosy List bf
Related Issues
Status needs-review Assigned To
Milestone

Created on 2022-06-12.18:16:59 by bf, last changed 2022-06-12.18:17:39 by bf.

Files
File name Status Uploaded Type Edit Remove
patch-preview.txt bf, 2022-06-12.18:16:57 text/x-darcs-patch
tests_lib_-make-_not_-fail-if-command-returns-4.dpatch bf, 2022-06-12.18:16:57 application/x-darcs-patch
See mailing list archives for discussion on individual patches.
Messages
msg23012 (view) Author: bf Date: 2022-06-12.18:16:57
2 patches for repository http://darcs.net/screened:

patch 1e90b620e23b46c9d945ebef9a700e269f41b6c6
Author: Ben Franksen <ben.franksen@online.de>
Date:   Fri May 13 22:34:06 CEST 2022
  * tests/lib: make 'not' fail if command returns 4

  This exit code is returned by darcs when the top-level handler receives an
  ErrorCall exception. This signifies a bug in darcs, so should be treated as
  failure of the test even if the script uses 'not' to indicate that darcs is
  expected to fail.

patch 9f4251b600a45483df61606fbb9d004b2d5a6671
Author: Ben Franksen <ben.franksen@online.de>
Date:   Thu May  5 20:26:45 CEST 2022
  * harness: use runghc for hspwd instead of compilation

  This fixes occasional CI test failures that say

  ghc --make -o hspwd /home/runner/work/darcs-ci/darcs-ci/tests/bin/hspwd.hs
  /home/runner/work/darcs-ci/darcs-ci/tests/bin/hspwd.o.tmp:
  renameFile:renamePath:rename: does not exist (No such file or directory)
  ./hspwd
  lib: line 32: ./hspwd: No such file or directory
Attachments
History
Date User Action Args
2022-06-12 18:16:59bfcreate
2022-06-12 18:17:39bfsetstatus: needs-screening -> needs-review