Skip to content

Commit

Permalink
Update RunInstrument::DebugMode() with new tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cescalara committed Feb 7, 2020
1 parent b9285fb commit a54c9c6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions CPU/CPUsoftware/src/instrument/RunInstrument.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ int RunInstrument::DebugMode() {
std::cout << "running checks of all subsystems..." <<std::endl;
std::cout << std::endl;

/*
std::cout << "USB" << std::endl;
int num_usb_storage = this->Usb.LookupUsbStorage();
std::cout << "there are " << num_usb_storage << " USB storage devices connected" << std::endl;
Expand Down Expand Up @@ -232,7 +231,6 @@ int RunInstrument::DebugMode() {
std::cout << "Zynq OFF " << std::endl;
this->Lvps.SwitchOff(LvpsManager::ZYNQ);
std::cout << "done!" << std::endl;
*/

/* check the available disk space */
const char * cmd1 = "df -h";
Expand All @@ -248,8 +246,7 @@ int RunInstrument::DebugMode() {
std::cout << "Checking CPU usage: " << std::endl;
std::cout << output2 << std::endl;
clog << "info: " << logstream::info << "Checking CPU usage:" << std::endl;
clog << "info: " << logstream::info << output2 << std::endl;

clog << "info: " << logstream::info << output2 << std::endl;

std::cout << "debug tests completed, exiting the program" << std::endl;

Expand Down

0 comments on commit a54c9c6

Please sign in to comment.