Project

General

Profile

Support #447

Recent merge of ConfigDB (port by Tunnell)/VirtualPlane (from Rogers) leads to VirtualPlaneTest errors

Added by Tunnell, Christopher about 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
-
Target version:
Start date:
11 May 2011
Due date:
% Done:

100%

Estimated time:
Workflow:

Description

See here:

tests/cpp_unit/Simulation/VirtualPlaneTest.o: In function `(anonymous namespace)::VirtualPlaneManagerTest_WriteHitTest_Test::TestBody()':
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:505: undefined reference to `VirtualPlaneManager::WriteHit(VirtualHit, Json::Value*)'
tests/cpp_unit/Simulation/VirtualPlaneTest.o: In function `(anonymous namespace)::VirtualPlaneManagerTest_GetStationNumberFromModuleTest_Test::TestBody()':
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:475: undefined reference to `VirtualPlaneManager::GetInstance()'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:475: undefined reference to `VirtualPlaneManager::~VirtualPlaneManager()'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:476: undefined reference to `VirtualPlaneManager::GetInstance()'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:482: undefined reference to `VirtualPlaneManager::GetStationNumberFromModule(MiceModule const*)'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:483: undefined reference to `VirtualPlaneManager::GetStationNumberFromModule(MiceModule const*)'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:485: undefined reference to `VirtualPlaneManager::GetStationNumberFromModule(MiceModule const*)'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:486: undefined reference to `VirtualPlaneManager::GetStationNumberFromModule(MiceModule const*)'
tests/cpp_unit/Simulation/VirtualPlaneTest.o: In function `(anonymous namespace)::VirtualPlaneManagerTest_GetModuleFromStationNumberTest_Test::TestBody()':
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:457: undefined reference to `VirtualPlaneManager::GetInstance()'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:457: undefined reference to `VirtualPlaneManager::~VirtualPlaneManager()'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:461: undefined reference to `VirtualPlaneManager::GetInstance()'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:463: undefined reference to `VirtualPlaneManager::GetModuleFromStationNumber(int)'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:464: undefined reference to `VirtualPlaneManager::GetModuleFromStationNumber(int)'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:465: undefined reference to `VirtualPlaneManager::GetModuleFromStationNumber(int)'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:467: undefined reference to `VirtualPlaneManager::GetModuleFromStationNumber(int)'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:468: undefined reference to `VirtualPlaneManager::GetModuleFromStationNumber(int)'
tests/cpp_unit/Simulation/VirtualPlaneTest.o:/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:469: more undefined references to `VirtualPlaneManager::GetModuleFromStationNumber(int)' follow
tests/cpp_unit/Simulation/VirtualPlaneTest.o: In function `(anonymous namespace)::VirtualPlaneManagerTest_GetInstanceTest_Test::TestBody()':
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:255: undefined reference to `VirtualPlaneManager::GetInstance()'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:257: undefined reference to `VirtualPlaneManager::GetInstance()'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:258: undefined reference to `VirtualPlaneManager::~VirtualPlaneManager()'
tests/cpp_unit/Simulation/VirtualPlaneTest.o: In function `(anonymous namespace)::__test_multipass(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, VirtualPlane::multipass_handler, MiceModule)':
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:337: undefined reference to `VirtualPlaneManager::GetInstance()'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:337: undefined reference to `VirtualPlaneManager::~VirtualPlaneManager()'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:338: undefined reference to `VirtualPlaneManager::GetInstance()'
tests/cpp_unit/Simulation/VirtualPlaneTest.o: In function `(anonymous namespace)::__test_indep(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, BTTracker::var, double, MiceModule)':
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:306: undefined reference to `VirtualPlaneManager::GetInstance()'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:306: undefined reference to `VirtualPlaneManager::~VirtualPlaneManager()'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:307: undefined reference to `VirtualPlaneManager::GetInstance()'
tests/cpp_unit/Simulation/VirtualPlaneTest.o: In function `(anonymous namespace)::VirtualPlaneManagerTest_ConstructFromModule_IndepVariableTest_Test::TestBody()':
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:317: undefined reference to `VirtualPlaneManager::GetInstance()'
tests/cpp_unit/Simulation/VirtualPlaneTest.o: In function `(anonymous namespace)::VirtualPlaneManagerTest_ConstructFromModule_OtherStuffTest_Test::TestBody()':
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:354: undefined reference to `VirtualPlaneManager::GetInstance()'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:354: undefined reference to `VirtualPlaneManager::~VirtualPlaneManager()'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:356: undefined reference to `VirtualPlaneManager::GetInstance()'
tests/cpp_unit/Simulation/VirtualPlaneTest.o: In function `(anonymous namespace)::VirtualPlaneManagerTest_ConstructVirtualPlanes_Test::TestBody()':
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:272: undefined reference to `VirtualPlaneManager::GetInstance()'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:272: undefined reference to `VirtualPlaneManager::~VirtualPlaneManager()'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:276: undefined reference to `VirtualPlaneManager::GetStationNumberFromModule(MiceModule const*)'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:280: undefined reference to `VirtualPlaneManager::GetStationNumberFromModule(MiceModule const*)'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:284: undefined reference to `VirtualPlaneManager::GetStationNumberFromModule(MiceModule const*)'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:286: undefined reference to `VirtualPlaneManager::GetInstance()'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:287: undefined reference to `VirtualPlaneManager::GetInstance()'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:287: undefined reference to `VirtualPlaneManager::~VirtualPlaneManager()'
tests/cpp_unit/Simulation/VirtualPlaneTest.o: In function `(anonymous namespace)::VirtualPlaneManagerTest_GetSetFieldTest_Test::TestBody()':
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:262: undefined reference to `VirtualPlaneManager::GetInstance()'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:262: undefined reference to `VirtualPlaneManager::~VirtualPlaneManager()'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:264: undefined reference to `VirtualPlaneManager::GetInstance()'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:266: undefined reference to `VirtualPlaneManager::GetInstance()'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:267: undefined reference to `VirtualPlaneManager::GetInstance()'
tests/cpp_unit/Simulation/VirtualPlaneTest.o: In function `(anonymous namespace)::VirtualPlaneManagerTest_VirtualPlanesSteppingActionMultipassTest_Test::TestBody()':
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:398: undefined reference to `VirtualPlaneManager::GetInstance()'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:398: undefined reference to `VirtualPlaneManager::~VirtualPlaneManager()'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:399: undefined reference to `VirtualPlaneManager::GetInstance()'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:423: undefined reference to `VirtualPlaneManager::VirtualPlanesSteppingAction(G4Step const*, Json::Value*)'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:424: undefined reference to `VirtualPlaneManager::VirtualPlanesSteppingAction(G4Step const*, Json::Value*)'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:425: undefined reference to `VirtualPlaneManager::VirtualPlanesSteppingAction(G4Step const*, Json::Value*)'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:427: undefined reference to `VirtualPlaneManager::GetNumberOfHits(int)'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:428: undefined reference to `VirtualPlaneManager::GetNumberOfHits(int)'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:429: undefined reference to `VirtualPlaneManager::GetNumberOfHits(int)'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:445: undefined reference to `VirtualPlaneManager::VirtualPlanesSteppingAction(G4Step const*, Json::Value*)'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:450: undefined reference to `VirtualPlaneManager::GetNumberOfHits(int)'
tests/cpp_unit/Simulation/VirtualPlaneTest.o: In function `(anonymous namespace)::VirtualPlaneManagerTest_VirtualPlanesSteppingActionTest_Test::TestBody()':
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:374: undefined reference to `VirtualPlaneManager::GetInstance()'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:380: undefined reference to `VirtualPlaneManager::VirtualPlanesSteppingAction(G4Step const*, Json::Value*)'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:381: undefined reference to `VirtualPlaneManager::VirtualPlanesSteppingAction(G4Step const*, Json::Value*)'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:382: undefined reference to `VirtualPlaneManager::VirtualPlanesSteppingAction(G4Step const*, Json::Value*)'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:383: undefined reference to `VirtualPlaneManager::GetNumberOfHits(int)'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:385: undefined reference to `VirtualPlaneManager::GetNumberOfHits(int)'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:389: undefined reference to `VirtualPlaneManager::GetNumberOfHits(int)'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:390: undefined reference to `VirtualPlaneManager::GetNumberOfHits(int)'
/home/tunnell/mice/maus-trunk/tests/cpp_unit/Simulation/VirtualPlaneTest.cc:391: undefined reference to `VirtualPlaneManager::GetNumberOfHits(int)'
collect2: ld returned 1 exit status
scons: *** [tests/cpp_unit/test_cpp_unit] Error 1
scons: building terminated because of errors.

Trunk is busted at moment.

#1

Updated by Tunnell, Christopher about 13 years ago

  • Tracker changed from Bug to Support
#2

Updated by Tunnell, Christopher about 13 years ago

Now I find this (after cleaning my MAUS_ROOT_DIR by "rm -Rf .scon*")

Module with Volume None cannot have daughters. They will not be placed.
..Info in <TCanvas::Print>: ps file /tmp/tmpkxPwTZ has been created
.
======================================================================
FAIL: @brief This is the main test - walks the directory structure and looks for errors using cpplint
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tunnell/mice/maus-trunk/build/test_cpp_style.py", line 270, in test_cpp_style
    msg="Failed cpp style test - detailed output in file:\n"+file_name)
AssertionError: Failed cpp style test - detailed output in file:
/home/tunnell/mice/maus-trunk/tmp/cpplint.out

======================================================================
FAIL: @brief self check - test we postprocess cpplint output correctly
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tunnell/mice/maus-trunk/build/test_cpp_style.py", line 260, in test_cpplint_postprocessor
    self.assertEqual(n_errors, 6)
AssertionError: 11 != 6

======================================================================
FAIL: @brief self check - test we walk the path correctly, excluding relevant files and directories
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/tunnell/mice/maus-trunk/build/test_cpp_style.py", line 243, in test_walker_and_path_exclude
    self.assertEqual(test_result, 3) #2 errors from force_fail_2.cc
AssertionError: 6 != 3

#3

Updated by Tunnell, Christopher about 13 years ago

I may have tampered with one of the .out files accidentally....

#4

Updated by Tunnell, Christopher about 13 years ago

  • Status changed from Open to Closed
  • Target version changed from Future MAUS release to MAUS-v0.0.2
  • % Done changed from 0 to 100

Clearing out build seemed to work

#5

Updated by Tunnell, Christopher about 13 years ago

  • Target version changed from MAUS-v0.0.2 to MAUS-v0.0.1

Also available in: Atom PDF