mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 04:35:41 +03:00
integration test driver: Adapt test script checking output
This commit is contained in:
parent
8b92746f77
commit
c97588eedc
1 changed files with 5 additions and 1 deletions
|
@ -65,7 +65,8 @@ let
|
||||||
echo "${builtins.toString vlanNames}" >> testScriptWithTypes
|
echo "${builtins.toString vlanNames}" >> testScriptWithTypes
|
||||||
echo -n "$testScript" >> testScriptWithTypes
|
echo -n "$testScript" >> testScriptWithTypes
|
||||||
|
|
||||||
cat -n testScriptWithTypes
|
echo "Running type check (enable/disable: config.skipTypeCheck)"
|
||||||
|
echo "See https://nixos.org/manual/nixos/stable/#sec-test-options-reference"
|
||||||
|
|
||||||
mypy --no-implicit-optional \
|
mypy --no-implicit-optional \
|
||||||
--pretty \
|
--pretty \
|
||||||
|
@ -79,6 +80,9 @@ let
|
||||||
|
|
||||||
${testDriver}/bin/generate-driver-symbols
|
${testDriver}/bin/generate-driver-symbols
|
||||||
${lib.optionalString (!config.skipLint) ''
|
${lib.optionalString (!config.skipLint) ''
|
||||||
|
echo "Linting test script (enable/disable: config.skipLint)"
|
||||||
|
echo "See https://nixos.org/manual/nixos/stable/#sec-test-options-reference"
|
||||||
|
|
||||||
PYFLAKES_BUILTINS="$(
|
PYFLAKES_BUILTINS="$(
|
||||||
echo -n ${lib.escapeShellArg (lib.concatStringsSep "," pythonizedNames)},
|
echo -n ${lib.escapeShellArg (lib.concatStringsSep "," pythonizedNames)},
|
||||||
< ${lib.escapeShellArg "driver-symbols"}
|
< ${lib.escapeShellArg "driver-symbols"}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue