forked from smnmgn/codeface
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathtest_graphs.sh
More file actions
executable file
·20 lines (19 loc) · 838 Bytes
/
test_graphs.sh
File metadata and controls
executable file
·20 lines (19 loc) · 838 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
# Copyright Siemens AG 2013
#
# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved. This file is offered as-is,
# without any warranty.
echo 'Dynamic graph interactive testing script'
echo '----------------------------------------'
echo 'Please open http://localhost:8100/?projectid=X in a web browser (where X is the project ID of a project in the database.'
echo 'This script will serve each dynamic graph in sequence.'
echo 'Press CTRL-C to advance to the next graph; refresh the browser, and check if the graph is working'
echo
echo
for graph in $(codeface dynamic --list | tail -n +2 | cut -b4-); do
echo "Showing graph: $graph"
codeface dynamic $graph
done
echo 'All graphs served.'