From bd02cae03244cbeff1e90278ee0e8c4e2f5f4d0d Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 19 Jul 2020 00:32:34 +0100 Subject: test(3p/nix): Port language test suite to Googletest This moves the language test suite into Googletest by constructing parameterised tests out of the same language snippets used for the previous lang.sh evaluation. So far this includes support for about 3/4 of all tests, specifically: * all parser success/failure tests * all evaluator failure tests The evaluator success tests will be implemented in a subsequent commit, because the output comparison contains a whole bunch of additional logic that I did not want to cram in here. Change-Id: Icec9f368366cdbaa53b4c7e4472b8b6e8dd72eba Reviewed-on: https://cl.tvl.fyi/c/depot/+/1278 Reviewed-by: glittershark Reviewed-by: isomer Tested-by: BuildkiteCI --- third_party/nix/src/tests/dummy-store.hh | 1 + 1 file changed, 1 insertion(+) (limited to 'third_party/nix/src/tests/dummy-store.hh') diff --git a/third_party/nix/src/tests/dummy-store.hh b/third_party/nix/src/tests/dummy-store.hh index d0f8bf14b6..b2c49364b7 100644 --- a/third_party/nix/src/tests/dummy-store.hh +++ b/third_party/nix/src/tests/dummy-store.hh @@ -1,6 +1,7 @@ #pragma once #include + #include "libstore/store-api.hh" namespace nix::tests { -- cgit 1.4.1