integration test driver: Adapt test script checking output
This commit is contained in:
@@ -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"}
|
||||||
|
|||||||
Reference in New Issue
Block a user