Ver Fonte

test(trydump): auto discard old definitions

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
Christina Sørensen há 2 anos atrás
pai
commit
273d474aee
1 ficheiros alterados com 1 adições e 1 exclusões
  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 = ''