1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-01-08 16:30:35 +00:00

changing a log from fatal to warning

This commit is contained in:
Carles Fernandez 2014-04-10 20:38:50 +02:00
parent 58bad8cfab
commit c762e921aa

View File

@ -135,7 +135,7 @@ void GalileoE1PcpsAmbiguousAcquisitionGSoCTest::wait_message()
} }
catch( boost::exception & e ) catch( boost::exception & e )
{ {
DLOG(FATAL) << "Boost exception: " << boost::diagnostic_information(e); DLOG(WARNING) << "Boost exception: " << boost::diagnostic_information(e);
} }
} }
@ -199,7 +199,7 @@ TEST_F(GalileoE1PcpsAmbiguousAcquisitionGSoCTest, ValidationOfResults)
long long int end = 0; long long int end = 0;
init(); init();
GalileoE1PcpsAmbiguousAcquisition *acquisition = new GalileoE1PcpsAmbiguousAcquisition(config, "Acquisition", 1, 1, queue); std::unique_ptr<GalileoE1PcpsAmbiguousAcquisition> acquisition(new GalileoE1PcpsAmbiguousAcquisition(config, "Acquisition", 1, 1, queue));
ASSERT_NO_THROW( { ASSERT_NO_THROW( {
@ -262,6 +262,4 @@ TEST_F(GalileoE1PcpsAmbiguousAcquisitionGSoCTest, ValidationOfResults)
std::cout << "Acquired " << nsamples << " samples in " << (end - begin) << " microseconds" << std::endl; std::cout << "Acquired " << nsamples << " samples in " << (end - begin) << " microseconds" << std::endl;
EXPECT_EQ(0, message) << "Acquisition failure. Expected message: 0=ACQ STOP."; EXPECT_EQ(0, message) << "Acquisition failure. Expected message: 0=ACQ STOP.";
delete acquisition;
} }