From f0510742c4ad4b46d21d20b16a6c1ca04a4d8cf8 Mon Sep 17 00:00:00 2001 From: Adam Wildavsky Date: Fri, 26 Jun 2026 20:33:23 -0500 Subject: [PATCH] Remove unused itest.cpp test driver. The file was excluded from the dtest build, had no Bazel target, and referenced a nonexistent realMain entry point. Co-authored-by: Cursor --- library/tests/BUILD.bazel | 1 - library/tests/args.hpp | 2 +- library/tests/itest.cpp | 47 --------------------------------------- 3 files changed, 1 insertion(+), 49 deletions(-) delete mode 100644 library/tests/itest.cpp diff --git a/library/tests/BUILD.bazel b/library/tests/BUILD.bazel index 0781deee..af1d80a7 100644 --- a/library/tests/BUILD.bazel +++ b/library/tests/BUILD.bazel @@ -7,7 +7,6 @@ filegroup( srcs = glob( ["*.cpp", "*.hpp"], exclude = [ - "itest.cpp", "context_equivalence.cpp", "calc_par_test.cpp", # Uses GoogleTest, compiled separately ], diff --git a/library/tests/args.hpp b/library/tests/args.hpp index d8eeea68..fa341a1f 100644 --- a/library/tests/args.hpp +++ b/library/tests/args.hpp @@ -13,7 +13,7 @@ /// @brief Command-line argument parsing for test utilities. /// /// Provides functions to parse and validate command-line options -/// for test driver programs (dtest, itest). Options include: +/// for the dtest driver program. Options include: /// - Input file specification /// - Solver type selection (solve, calc, play, par, dealer_par) /// - Number of threads diff --git a/library/tests/itest.cpp b/library/tests/itest.cpp deleted file mode 100644 index 2eb6bbd2..00000000 --- a/library/tests/itest.cpp +++ /dev/null @@ -1,47 +0,0 @@ -/* - DDS, a bridge double dummy solver. - - Copyright (C) 2006-2014 by Bo Haglund / - 2014-2018 by Bo Haglund & Soren Hein. - - See LICENSE and README. -*/ - - -#include -#include -#include - -#include -#include "testcommon.hpp" -#include "args.hpp" -#include "cst.hpp" - -using std::cout; -using std::endl; -using std::setw; - -OptionsType options; - - -int main(int argc, char * argv[]) -{ - read_args(argc, argv); - - SetResources(options.memory_mb_, 0); - - DDSInfo info; - GetDDSInfo(&info); - cout << info.systemString << endl; - - realMain(argc, argv); - -#ifdef DDS_SCHEDULER - scheduler.PrintTiming(); -#endif - - FreeMemory(); - - exit(0); -} -