1
0
Эх сурвалжийг харах

test(trydump): auto discard old definitions

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
Christina Sørensen 2 жил өмнө
parent
commit
273d474aee
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      flake.nix

+ 1 - 1
flake.nix

@@ -134,7 +134,7 @@
             # buildPhase files differ between dep and main phase
             singleStep = true;
             # set itests files creation date to unix epoch
-            buildPhase = ''touch --date=@0 tests/itest/*'';
+            buildPhase = ''touch --date=@0 tests/itest/*; rm tests/cmd/*.stdout; rm tests/cmd/*.stderr;'';
             cargoTestOptions = opts: opts ++ [ "--features nix" ];
             TRYCMD="dump";
             postInstall = ''