mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-07-04 16:27:19 +02:00
feat: better handling of nixos version depending on the machine
This commit is contained in:
parent
8558aff891
commit
2892e6dbe3
5 changed files with 172 additions and 8 deletions
11
packages/buildbot/skip_test_linux_distro.patch
Normal file
11
packages/buildbot/skip_test_linux_distro.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
diff -Nur buildbot-0.9.6/buildbot/test/unit/test_buildbot_net_usage_data.py buildbot-0.9.6.patched/buildbot/test/unit/test_buildbot_net_usage_data.py
|
||||
--- buildbot-0.9.6/buildbot/test/unit/test_buildbot_net_usage_data.py 2017-04-19 16:57:02.000000000 +0200
|
||||
+++ buildbot-0.9.6.patched/buildbot/test/unit/test_buildbot_net_usage_data.py 2017-05-04 12:22:54.575762551 +0200
|
||||
@@ -147,6 +147,7 @@
|
||||
_sendBuildbotNetUsageData({'foo': 'bar'})
|
||||
|
||||
def test_linux_distro(self):
|
||||
+ raise SkipTest("NixOS sandboxed builds hides /etc/os-release")
|
||||
system = platform.system()
|
||||
if system != "Linux":
|
||||
raise SkipTest("test is only for linux")
|
Loading…
Add table
Add a link
Reference in a new issue