File indexing completed on 2026-10-20 08:42:21
0001
0002
0003
0004
0005
0006
0007
0008
0009 #include <boost/test/tools/old/interface.hpp>
0010 #include <boost/test/unit_test.hpp>
0011
0012 #include "Acts/Utilities/Logger.hpp"
0013 #include "ActsPlugins/Mille/MillePedeError.hpp"
0014 #include "ActsPlugins/Mille/MillePedeSolver.hpp"
0015
0016 using namespace ActsPlugins;
0017
0018 BOOST_AUTO_TEST_SUITE(MillePedeSolverBuiltin)
0019
0020
0021 BOOST_AUTO_TEST_CASE(BuiltInSiTracker) {
0022 MillePedeSolverConfig testSolverCfg;
0023
0024 testSolverCfg.steeringFile = "";
0025 testSolverCfg.workDir = "mpTest";
0026 testSolverCfg.redirectStdout = "mpStdout.txt";
0027
0028 testSolverCfg.extraOpts = {" -t=BRLF"};
0029 auto logger =
0030 Acts::getDefaultLogger("MillePedeSolverBuiltin", Acts::Logging::INFO);
0031 auto res = runMillePedeSolver(testSolverCfg, *logger);
0032
0033 BOOST_CHECK(res.ok());
0034
0035 BOOST_CHECK_EQUAL(res->exitCode, 0);
0036
0037 BOOST_CHECK_EQUAL(static_cast<int>(res->exitStatus),
0038 static_cast<int>(MillePedeExitStatus::NominalExit));
0039 }
0040
0041 BOOST_AUTO_TEST_SUITE_END()