Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zmap
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
zmap
Commits
b23fe121
Commit
b23fe121
authored
15 years ago
by
rds
Browse files
Options
Downloads
Patches
Plain Diff
Fix a few inconsistencies
parent
4cf2ec69
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
scripts/zmap_developer.sh
+9
-1
9 additions, 1 deletion
scripts/zmap_developer.sh
scripts/zmap_functions.sh
+1
-1
1 addition, 1 deletion
scripts/zmap_functions.sh
scripts/zmap_test_suite.sh
+13
-4
13 additions, 4 deletions
scripts/zmap_test_suite.sh
with
23 additions
and
6 deletions
scripts/zmap_developer.sh
+
9
−
1
View file @
b23fe121
...
...
@@ -3,10 +3,16 @@
# ================= README ==================
# This is a development version of zmap_overnight.sh that can be run
# to test the build.
# to test the build. There's no cvs updating to worry about, nor
# emailing...
# It does build the documentation, so is slower. No other config from
# build_config.sh is altered either so will run like zmap_overnight.sh
# does.
# Output will be in RELEASE_LOCATION= directory. N.B. ~ == ~zmap
# We set the ZMAP_MASTER_BUILD_DEVELOPMENT_DIR
# ================== CONFIG ==================
...
...
@@ -16,8 +22,10 @@ SRC_MACHINE=tviewsrv
CVS_CHECKOUT_SCRIPT
=
./build_bootstrap.sh
HOSTNAME
=
$(
hostname
)
cd
$(
dirname
$0
)
SCRIPT_DIR
=
$(
pwd
)
(
cat
<<
EOF
#!/bin/echo Generated by
$0
echo Development script, Not for production!
...
...
This diff is collapsed.
Click to expand it.
scripts/zmap_functions.sh
+
1
−
1
View file @
b23fe121
...
...
@@ -343,7 +343,7 @@ function zmap_write_cluster_config
if
[
"x
$ZMAP_BUILD_MACHINES
"
!=
"x"
]
;
then
HOSTNAMES
=
""
for
cluster
in
$ZMAP_BUILD_MACHINES
;
do
TMP
=
$(
ssh
$ZMAP_SSH_OPTIONS
$cluster
'hostname'
)
TMP
=
$(
ssh
$ZMAP_SSH_OPTIONS
$cluster
'hostname'
2>/dev/null
)
HOSTNAMES
=
"
$HOSTNAMES
$TMP
"
done
ZMAP_BUILD_MACHINES
=
$HOSTNAMES
...
...
This diff is collapsed.
Click to expand it.
scripts/zmap_test_suite.sh
+
13
−
4
View file @
b23fe121
...
...
@@ -64,6 +64,15 @@ X_APP=xlogo
# uncomment the next line while testing...
#X_APP=xlogo
# Need an exit function that kills $X_APP first
# Usage: zmap_message_kill_exit "message"
function
zmap_message_kill_exit
{
zmap_message_err
"Running 'killall -9
$X_APP
'"
killall
-9
$X_APP
zmap_message_exit
"
$@
"
}
# print out lots of information here.
# DISPLAY=$DISPLAY
# XAUTHORITY=$XAUTHORITY
...
...
@@ -132,7 +141,7 @@ CONTEXT_FORMAT=context
# The zmap config file that zmap reads
# N.B. Substitution _will_ occur in this HERE doc.
cat
<<
EOF
>
$ZMAP_CONFIG
|| zmap_message_exit "Failed to write '
$ZMAP_CONFIG
'"
cat
<<
EOF
>
$ZMAP_CONFIG
|| zmap_message_
kill_
exit "Failed to write '
$ZMAP_CONFIG
'"
# Generated by
$0
[ZMap]
show_mainwindow=true
...
...
@@ -143,7 +152,7 @@ EOF
# The config file the xremote_gui reads
# N.B. Substitution _will_ occur in this HERE doc.
cat
<<
EOF
>
$CONFIG_FILE
|| zmap_message_exit "Failed to write '
$CONFIG_FILE
'"
cat
<<
EOF
>
$CONFIG_FILE
|| zmap_message_
kill_
exit "Failed to write '
$CONFIG_FILE
'"
# Generated by
$0
[programs]
zmap-exe=
$PROGRAM_PATH
/zmap
...
...
@@ -157,7 +166,7 @@ EOF
# The command file that xremote_gui reads
# N.B. Substitution _will_ occur in this HERE doc.
cat
<<
EOF
>
$COMMAND_FILE
|| zmap_message_exit "Failed to write '
$COMMAND_FILE
'"
cat
<<
EOF
>
$COMMAND_FILE
|| zmap_message_
kill_
exit "Failed to write '
$COMMAND_FILE
'"
<zmap action="new_zmap" />
__EOC__
<zmap action="new_view">
...
...
@@ -189,7 +198,7 @@ zmap_message_out "Running $PROGRAM_PATH/xremote_gui --config-file $CONFIG_FILE -
$PROGRAM_PATH
/xremote_gui
\
--config-file
$CONFIG_FILE
\
--command-file
$COMMAND_FILE
||
zmap_message_exit
"Failed runing xremote_gui"
--command-file
$COMMAND_FILE
||
zmap_message_
kill_
exit
"Failed runing xremote_gui"
zmap_x11_restore_enviroment
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment