fix: tests should use framework

This commit is contained in:
Yusuf Bera Ertan 2022-11-16 03:53:40 +03:00
parent 15cb50c271
commit b22b97fc37
No known key found for this signature in database
GPG Key ID: 1D8F8FAF2294D6EA
4 changed files with 12 additions and 12 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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