Changeset 679 in tmcsimulator for trunk/bin/systemstart_systest.sh


Ignore:
Timestamp:
09/26/2022 05:03:29 PM (4 years ago)
Author:
jdalbey
Message:

Update scripts and bat files to use config/devlinux files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/systemstart_systest.sh

    r674 r679  
    1 #!/bin/sh 
     1#!/bin/bash 
    22 
    33# Kill any process leftover from previous run 
    44kill $(ps  aux | grep "[p]ython -m CGIHTTPServer 8080" | awk '{print $2}') 
    55kill $(ps  aux | grep "[p]ython deploy/unifiedlogger.zip" | awk '{print $2}') 
     6 
     7# Get path to this script 
     8# $0 contains path to the script file, even if launched from file manager 
     9SCRIPT_PATH=$(dirname "$(readlink -f "$0")") 
     10# CD to the script folder 
     11cd "$SCRIPT_PATH" 
    612 
    713# Start the Simulator System with the system test script 
     
    1016sleep 1 
    1117cd .. 
    12 java -DPROP_FILE=cad_server_systest.properties -jar deploy/CADserver.jar & 
     18java -DCONFIG_DIR=config/devlinux -DPROP_FILE=cad_server_systest.properties -jar deploy/CADserver.jar & 
    1319sleep 7 
    1420python deploy/unifiedlogger.zip & 
     21 
    1522sleep 2 
    1623java -jar deploy/SimManager.jar system_test_script.xml & 
     
    1825# Start a browser and run the web applications 
    1926firefox localhost:8080/einotebook  localhost:8080/cptms localhost:8080/unifiedlogmonitor.html & 
     27 
Note: See TracChangeset for help on using the changeset viewer.