Commit 6db7fd23 authored by Ian Humphrey's avatar Ian Humphrey Committed by Makayla Shepherd
Browse files

PROG fixed cub locations for CubeDataThread unitTest

parent bcbe39f9
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -3,6 +3,8 @@
#include <iostream>
#include <unistd.h>

#include <QString>

#include "Cube.h"
#include "CubeDataThread.h"
#include "CubeDataThreadTester.h"
@@ -14,8 +16,10 @@ using namespace Isis;
using namespace std;

void IsisMain() {
  ProgramLauncher::RunSystemCommand("cp unitTest.cub unitTest2.cub");
  ProgramLauncher::RunSystemCommand("cp unitTest.cub unitTest3.cub");
  QString testFile = FileName("$base/testData/CubeDataThread/unitTest.cub").expanded();
  QString sysCommand = "cp " + testFile;
  ProgramLauncher::RunSystemCommand(sysCommand + " unitTest2.cub");
  ProgramLauncher::RunSystemCommand(sysCommand + " unitTest3.cub");

  CubeDataThread *cubeData = new CubeDataThread();