diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2019-06-23 07:53:17 -0700 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-06-23 17:53:17 +0300 |
commit | 56f7e5c74f54d31b405fe1c4289a406ef826b757 (patch) | |
tree | 2ebe24ae3ca1c62d3d3ebc6275a67a89d2bd34fa /run_project_tests.py | |
parent | d61116efc116845d32cd56b82089addd6b9327cc (diff) | |
download | meson-56f7e5c74f54d31b405fe1c4289a406ef826b757.zip meson-56f7e5c74f54d31b405fe1c4289a406ef826b757.tar.gz meson-56f7e5c74f54d31b405fe1c4289a406ef826b757.tar.bz2 |
coredata: Correctly handle receiving a pipe for native/cross files
* coredata: Correctly handle receiving a pipe for native/cross files
In some cases a cross/native file may be a pipe, such as when using bash
process replacement `meson --native-file
<([binaries]llvm-config='/opt/bin/llvm-config')`, for example. In this
case we copy the contents of the pipe into a file in the meson-private
directory so we can create a proper ninja dependency, and be able to
reload the file on --wipe/--reconfigure. This requires some extra
negotiation to preserve these native/cross files.
Fixes #5505
* run_unitests: Add a unit test for native files that are pipes
Using mkfifo.
Diffstat (limited to 'run_project_tests.py')
0 files changed, 0 insertions, 0 deletions