mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-11-23 09:04:37 +03:00
fix: tests should use framework
This commit is contained in:
parent
15cb50c271
commit
b22b97fc37
@ -9,15 +9,15 @@
|
||||
jq,
|
||||
parallel,
|
||||
nix,
|
||||
utils,
|
||||
dream2nixWithExternals,
|
||||
pkgs,
|
||||
framework,
|
||||
dream2nixWithExternals,
|
||||
...
|
||||
}: let
|
||||
l = lib // builtins;
|
||||
examples = ../../examples;
|
||||
testScript =
|
||||
utils.writePureShellScript
|
||||
framework.utils.writePureShellScript
|
||||
[
|
||||
async
|
||||
bash
|
||||
@ -53,7 +53,7 @@
|
||||
echo "$elapsed sec: $dir" >> $STATS_FILE
|
||||
'';
|
||||
in
|
||||
utils.writePureShellScript
|
||||
framework.utils.writePureShellScript
|
||||
[
|
||||
coreutils
|
||||
parallel
|
||||
|
@ -7,14 +7,14 @@
|
||||
git,
|
||||
parallel,
|
||||
nix,
|
||||
utils,
|
||||
dream2nixWithExternals,
|
||||
framework,
|
||||
...
|
||||
}: let
|
||||
l = lib // builtins;
|
||||
tests = ./tests;
|
||||
testScript =
|
||||
utils.writePureShellScript
|
||||
framework.utils.writePureShellScript
|
||||
[
|
||||
async
|
||||
bash
|
||||
@ -40,7 +40,7 @@
|
||||
echo "$elapsed sec: $dir" >> $STATS_FILE
|
||||
'';
|
||||
in
|
||||
utils.writePureShellScript
|
||||
framework.utils.writePureShellScript
|
||||
[
|
||||
coreutils
|
||||
parallel
|
||||
|
@ -8,7 +8,7 @@
|
||||
parallel,
|
||||
nix,
|
||||
pkgs,
|
||||
utils,
|
||||
framework,
|
||||
dream2nixWithExternals,
|
||||
callPackageDream,
|
||||
...
|
||||
@ -21,7 +21,7 @@
|
||||
testDirs;
|
||||
testScriptsFile = pkgs.writeText "scripts-list" (l.concatStringsSep "\n" testScripts);
|
||||
execTest =
|
||||
utils.writePureShellScript
|
||||
framework.utils.writePureShellScript
|
||||
[
|
||||
bash
|
||||
coreutils
|
||||
@ -41,7 +41,7 @@
|
||||
echo "$elapsed sec: $test" >> $STATS_FILE
|
||||
'';
|
||||
in
|
||||
utils.writePureShellScript
|
||||
framework.utils.writePureShellScript
|
||||
[
|
||||
bash
|
||||
coreutils
|
||||
|
@ -5,8 +5,8 @@
|
||||
nix,
|
||||
git,
|
||||
python3,
|
||||
utils,
|
||||
dream2nixWithExternals,
|
||||
framework,
|
||||
...
|
||||
}: let
|
||||
l = lib // builtins;
|
||||
@ -17,7 +17,7 @@
|
||||
pytest-xdist
|
||||
]);
|
||||
in
|
||||
utils.writePureShellScript
|
||||
framework.utils.writePureShellScript
|
||||
[
|
||||
coreutils
|
||||
nix
|
||||
|
Loading…
Reference in New Issue
Block a user