make the catch tests build faster (#5284)

* reorg the catch tests
the goal here is to make the builds faster

* make that easier
This commit is contained in:
Greg Landrum
2022-05-17 04:39:33 +02:00
committed by GitHub
parent 705ac553f4
commit 594c58f86c
32 changed files with 38 additions and 93 deletions

View File

@@ -6,7 +6,7 @@ target_compile_definitions(ScaffoldNetwork PRIVATE RDKIT_SCAFFOLDNETWORK_BUILD)
rdkit_headers(ScaffoldNetwork.h DEST GraphMol/ScaffoldNetwork)
rdkit_catch_test(testScaffoldNetwork catch_main.cpp catch_tests.cpp
rdkit_catch_test(testScaffoldNetwork catch_tests.cpp
LINK_LIBRARIES ScaffoldNetwork SmilesParse )
if(RDK_BUILD_PYTHON_WRAPPERS)

View File

@@ -1,12 +0,0 @@
//
// Copyright (C) 2019 Greg Landrum and T5 Informatics GmbH
// @@ All Rights Reserved @@
// This file is part of the RDKit.
// The contents are covered by the terms of the BSD license
// which is included in the file license.txt, found at the root
// of the RDKit source tree.
//
#define CATCH_CONFIG_MAIN // This tells Catch to provide a main() - only do
// this in one cpp file
#include "catch.hpp"