mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 03:56:01 +01:00
Merge pull request #13071 from NixOS/mergify/bp/2.28-maintenance/pr-13070
Don't build MonitorFdHup test on Windows (backport #13070)
This commit is contained in:
commit
06cc94432e
1 changed files with 8 additions and 4 deletions
|
|
@ -1,8 +1,10 @@
|
||||||
#include "nix/util/util.hh"
|
#ifndef _WIN32
|
||||||
#include "nix/util/monitor-fd.hh"
|
|
||||||
|
|
||||||
#include <sys/file.h>
|
# include "nix/util/util.hh"
|
||||||
#include <gtest/gtest.h>
|
# include "nix/util/monitor-fd.hh"
|
||||||
|
|
||||||
|
# include <sys/file.h>
|
||||||
|
# include <gtest/gtest.h>
|
||||||
|
|
||||||
namespace nix {
|
namespace nix {
|
||||||
TEST(MonitorFdHup, shouldNotBlock)
|
TEST(MonitorFdHup, shouldNotBlock)
|
||||||
|
|
@ -16,3 +18,5 @@ TEST(MonitorFdHup, shouldNotBlock)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue