ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/BOSS/Examples/test.sh
Revision: 1.6
Committed: Fri Apr 28 17:45:25 2006 UTC (19 years ago) by gcodispo
Content type: application/x-sh
Branch: MAIN
CVS Tags: BOSS_4_0_6, BOSS_4_0_5, BOSS_4_0_4, BOSS_4_0_3
Changes since 1.5: +2 -3 lines
Log Message:
compilation options are now globally set at configure
added --enable-warn-build to enable -Wall compilation option
fixed bossenv.csh

File Contents

# User Rev Content
1 elmer 1.1 #!/bin/sh
2 gcodispo 1.3 #
3     if [ -z $BOSSDIR ]; then
4     echo
5     echo "BOSS env not set"
6     echo "please run bossenv.[c]sh"
7     echo
8     exit
9     fi
10     #
11     # configure L&B database
12 elmer 1.1 cd $BOSSDIR
13 gcodispo 1.6 bossConfigFiles
14 elmer 1.1 bossAdmin configureDB
15 gcodispo 1.3 #
16     # register test program
17     cd $BOSSDIR/Examples
18 elmer 1.1 ./registerTestProgram
19 gcodispo 1.3 #
20     # register fork scheduler
21     cd $BOSSDIR/BossSched/bin
22 elmer 1.1 ./registerForkScheduler
23 gcodispo 1.3 #
24     # register mysql RTMon
25     if [ -f "$HOME/.bossrc/MySQLRTConfig.clad" ]; then
26     echo "Found previous MySQL RT configuration"
27     echo "Do you want to overwrite it? y/n? "
28     read ANSW
29     echo
30     if [ "$ANSW" = "y" ]; then
31     cd $BOSSDIR/BossRTMon/
32 gcodispo 1.6 bossRTConfigFiles
33 gcodispo 1.4 else
34     cd $BOSSDIR/BossRTMon/bin
35     FILESSTRING="-updatorPath bossrtupdatorMySQL -clientPath bossrtclientMySQL -configPath ${HOME}/.bossrc/MySQLRTConfig.clad"
36     echo "bossAdmin registerRTMon -name mysql $FILESSTRING -default"
37     bossAdmin registerRTMon -name mysql $FILESSTRING -default
38 gcodispo 1.3 fi
39     fi
40     #
41 gcodispo 1.5 #
42