mirror of
https://github.com/NixOS/nix.git
synced 2025-11-15 15:02:42 +01:00
Add new C API for working with derivations
Also test the APIs we just added.
This commit is contained in:
parent
1a69fc6ab5
commit
9bc218ca3f
13 changed files with 270 additions and 47 deletions
15
src/libstore-tests/main.cc
Normal file
15
src/libstore-tests/main.cc
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#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();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue