mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 00:33:10 +00:00
b1eb0af283
Also enables the packages' tests. The tests need a few patches to fix runtime generated script's shebangs. There is also a fix to pass PATH environment variable to subprocess' calls so that they can find some binaries (like xterm).
11 lines
303 B
Diff
11 lines
303 B
Diff
--- a/tests/conftest.py
|
|
+++ b/tests/conftest.py
|
|
@@ -43,6 +43,7 @@
|
|
self.next_client_id = 0
|
|
self.env = {
|
|
'DISPLAY': display,
|
|
+ 'PATH': os.environ['PATH']
|
|
}
|
|
self.env = extend_env_with_whitelist(self.env)
|
|
self.hlwm_process = hlwm_process
|