summary refs log tree commit diff
path: root/nixos/lib/testing-python.nix
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2020-08-25 09:33:09 +0100
committerJörg Thalheim <joerg@thalheim.io>2020-08-25 10:13:27 +0100
commit392415c285b76d1e5111c9bb9e46bc35d6bae5db (patch)
treeb09e05234e01f33231e86d9170282e958938d09d /nixos/lib/testing-python.nix
parentc1667f85bb9ab44870d159e779bfb0a139f6f537 (diff)
downloadnixpkgs-392415c285b76d1e5111c9bb9e46bc35d6bae5db.tar
nixpkgs-392415c285b76d1e5111c9bb9e46bc35d6bae5db.tar.gz
nixpkgs-392415c285b76d1e5111c9bb9e46bc35d6bae5db.tar.bz2
nixpkgs-392415c285b76d1e5111c9bb9e46bc35d6bae5db.tar.lz
nixpkgs-392415c285b76d1e5111c9bb9e46bc35d6bae5db.tar.xz
nixpkgs-392415c285b76d1e5111c9bb9e46bc35d6bae5db.tar.zst
nixpkgs-392415c285b76d1e5111c9bb9e46bc35d6bae5db.zip
nixos/test-driver: switch to pythons' logging lib
- Less code
- more thread-safe according to @flokli
Diffstat (limited to 'nixos/lib/testing-python.nix')
-rw-r--r--nixos/lib/testing-python.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/lib/testing-python.nix b/nixos/lib/testing-python.nix
index c6939c7d698..4812567b8c6 100644
--- a/nixos/lib/testing-python.nix
+++ b/nixos/lib/testing-python.nix
@@ -62,7 +62,7 @@ rec {
         ''
           mkdir -p $out
 
-          LOGFILE=/dev/null tests='exec(os.environ["testScript"])' ${driver}/bin/nixos-test-driver
+          tests='exec(os.environ["testScript"])' ${driver}/bin/nixos-test-driver
 
           for i in */xchg/coverage-data; do
             mkdir -p $out/coverage-data