about summary refs log tree commit diff
path: root/third_party/nix/src/tests/language-tests.cc
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-07-18T23·27+0100
committertazjin <mail@tazj.in>2020-07-19T00·49+0000
commita802b4b44d4c25fc759812771042553190e853e2 (patch)
tree85ed17d674479c8af60b37e41818b117bb08e2cc /third_party/nix/src/tests/language-tests.cc
parent989537f972531ab321994e3691312617e343aee4 (diff)
fix(3p/nix/tests): Fail DummyStore::addToStore on non-existent srcPath r/1389
Unfortunately, to guarantee correct behaviour of some evaluation (!)
tests, addToStore needs to actually check whether passed in source
files exist and fail appropriately.

There is a chance that the dependency on this behaviour is actually a
bug in the upstream test suite, but my attempts at finding out more
about this from, say, the git history have so far been unsuccessful.

Change-Id: I311999ea28fcedf5da13a4e627b1c1c8e4e59cbd
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1276
Reviewed-by: isomer <isomer@tvl.fyi>
Reviewed-by: glittershark <grfn@gws.fyi>
Tested-by: BuildkiteCI
Diffstat (limited to 'third_party/nix/src/tests/language-tests.cc')
0 files changed, 0 insertions, 0 deletions