1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-09 03:56:01 +01:00
nix/src/libexpr-tests/main.cc
John Ericson 9bc218ca3f Add new C API for working with derivations
Also test the APIs we just added.
2025-09-16 13:25:36 -04:00

15 lines
283 B
C++

#include <gtest/gtest.h>
#include "nix/store/tests/test-main.hh"
using namespace nix;
int main(int argc, char ** argv)
{
auto res = testMainForBuidingPre(argc, argv);
if (!res)
return res;
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}