/[jscoverage]/trunk/tests/store.sh
ViewVC logotype

Diff of /trunk/tests/store.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 126 by siliconforks, Mon Jun 2 17:53:43 2008 UTC revision 181 by siliconforks, Sun Sep 21 18:42:02 2008 UTC
# Line 18  Line 18 
18    
19  set -e  set -e
20    
21  function shutdown() {  shutdown() {
22    wget -q -O- --post-data= "http://127.0.0.1:${server_port}/jscoverage-shutdown" > /dev/null    wget -q -O- --post-data= "http://127.0.0.1:${server_port}/jscoverage-shutdown" > /dev/null
23    wait $server_pid    wait $server_pid
24  }  }
25    
26  function cleanup() {  cleanup() {
27    # rm -fr DIR    # rm -fr DIR
28    # kill $server_pid    # kill $server_pid
29    shutdown    shutdown
# Line 45  Line 45 
45  fi  fi
46    
47  rm -fr DIR  rm -fr DIR
48  $VALGRIND jscoverage-server --document-root=recursive --report-dir=DIR &  $VALGRIND jscoverage-server --no-highlight --document-root=recursive --report-dir=DIR &
49  server_pid=$!  server_pid=$!
50  server_port=8080  server_port=8080
51    
# Line 74  Line 74 
74  cd ..  cd ..
75    
76  rm -fr DIR  rm -fr DIR
77  $VALGRIND jscoverage-server --proxy --report-dir=DIR > OUT 2> ERR &  $VALGRIND jscoverage-server --no-highlight --proxy --report-dir=DIR > OUT 2> ERR &
78  server_pid=$!  server_pid=$!
79  server_port=8080  server_port=8080
80    
# Line 101  Line 101 
101  shutdown  shutdown
102    
103  rm -fr DIR  rm -fr DIR
104  $VALGRIND jscoverage-server --proxy --report-dir=DIR > OUT 2> ERR &  $VALGRIND jscoverage-server --no-highlight --proxy --report-dir=DIR > OUT 2> ERR &
105  server_pid=$!  server_pid=$!
106  server_port=8080  server_port=8080
107    
# Line 117  Line 117 
117  shutdown  shutdown
118    
119  rm -fr DIR  rm -fr DIR
120  $VALGRIND jscoverage-server --proxy --report-dir=DIR > OUT 2> ERR &  $VALGRIND jscoverage-server --no-highlight --proxy --report-dir=DIR > OUT 2> ERR &
121  server_pid=$!  server_pid=$!
122  server_port=8080  server_port=8080
123    

Legend:
Removed from v.126  
changed lines
  Added in v.181

  ViewVC Help
Powered by ViewVC 1.1.24