mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 01:20:40 +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
|