Commit 25043441 authored by Pascal Palenda's avatar Pascal Palenda
Browse files

Remove unused test and app

parent 8d24c44f
......@@ -134,8 +134,6 @@ set_property( TARGET ITASimulationScheduler PROPERTY FOLDER "ITASimulationSchedu
# apps
if( ITA_SIMULATION_SCHEDULER_APPS )
add_subdirectory( "apps" )
if( ITA_SIMULATION_SCHEDULER_RAVEN_MODULE )
......@@ -153,7 +151,6 @@ endif( )
# tests
if( ITA_SIMULATION_SCHEDULER_TESTS )
add_subdirectory( "tests/simsched_add_task" )
add_subdirectory( "tests/all_tests" )
if( ITA_SIMULATION_SCHEDULER_RAVEN_MODULE )
......
cmake_minimum_required( VERSION 2.8 )
project( ITASimulationSchedulerApps )
list( APPEND CMAKE_MODULE_PATH "$ENV{VISTA_CMAKE_COMMON}" )
include( VistaCommon )
vista_use_package( ITASimulationScheduler REQUIRED FIND_DEPENDENCIES )
set( ProjectSources "simsched_cli.cpp" )
add_executable( simsched_cli ${ProjectSources} )
target_link_libraries( simsched_cli ${VISTA_USE_PACKAGE_LIBRARIES} )
vista_set_target_msvc_arguments( simsched_cli "localhost:12350" )
vista_configure_app( simsched_cli )
vista_install( simsched_cli )
vista_create_default_info_file( simsched_cli )
set_property( TARGET simsched_cli PROPERTY FOLDER "ITASimulationScheduler/Apps" )
/*
* ----------------------------------------------------------------
*
* ITA simulation scheduler
* (c) Copyright Institute of Technical Acoustics (ITA)
* RWTH Aachen University, Germany, 2019-2020
*
* ----------------------------------------------------------------
* ____ __________ _______
* // / //__ ___/ // _ |
* // / // / // /_| |
* // / // / // ___ |
* //__/ //__/ //__/ |__|
*
* ----------------------------------------------------------------
*
*/
#include <ITAException.h>
#include <iostream>
#include <string>
using namespace std;
void syntax_error()
{
cout << "Syntax: simsched_cli hostname:port" << endl;
}
int main( int argc, char* argv[] )
{
if( argc < 2 )
{
cout << "Too few arguments given (" << argc << ")" << endl;
syntax_error();
return 255;
}
try
{
ITA_EXCEPT_NOT_IMPLEMENTED;
}
catch( ITAException& err )
{
cout << "[ERROR]: " << err << endl;
return 255;
}
return 0;
}
cmake_minimum_required( VERSION 2.8 )
project( ITASimulationSchedulerTests )
list( APPEND CMAKE_MODULE_PATH "$ENV{VISTA_CMAKE_COMMON}" )
include( VistaCommon )
vista_use_package( ITASimulationScheduler REQUIRED FIND_DEPENDENCIES )
set( ProjectSources "simsched_add_task.cpp" )
add_executable( simsched_add_task ${ProjectSources} )
target_link_libraries( simsched_add_task ${VISTA_USE_PACKAGE_LIBRARIES} )
vista_set_target_msvc_arguments( simsched_add_task "1000" )
vista_configure_app( simsched_add_task )
vista_install( simsched_add_task )
vista_create_default_info_file( simsched_add_task )
set_property( TARGET simsched_add_task PROPERTY FOLDER "ITASimulationScheduler/Tests" )
/*
* ----------------------------------------------------------------
*
* ITA simulation scheduler
* (c) Copyright Institute of Technical Acoustics (ITA)
* RWTH Aachen University, Germany, 2019-2020
*
* ----------------------------------------------------------------
* ____ __________ _______
* // / //__ ___/ // _ |
* // / // / // /_| |
* // / // / // ___ |
* //__/ //__/ //__/ |__|
*
* ----------------------------------------------------------------
*
*/
#include <ITAException.h>
#include <iostream>
#include <string>
using namespace std;
void syntax_error()
{
cout << "Syntax: simsched_add_task NUMTASKS" << endl;
}
int main( int argc, char* argv[] )
{
if( argc < 2 )
{
cout << "Too few arguments given (" << argc << ")" << endl;
syntax_error();
return 255;
}
try
{
ITA_EXCEPT_NOT_IMPLEMENTED;
}
catch( ITAException& err )
{
cout << "[ERROR]: " << err << endl;
return 255;
}
return 0;
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment