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

Diff of /trunk/tests/server.sh

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

revision 130 by siliconforks, Tue Jun 3 02:41:23 2008 UTC revision 181 by siliconforks, Sun Sep 21 18:42:02 2008 UTC
# Line 42  Line 42 
42    
43  rm -fr EXPECTED DIR OUT  rm -fr EXPECTED DIR OUT
44  mkdir DIR  mkdir DIR
45  $VALGRIND jscoverage-server --document-root=recursive --report-dir=DIR &  $VALGRIND jscoverage-server --no-highlight --document-root=recursive --report-dir=DIR &
46  server_pid=$!  server_pid=$!
47  server_port=8080  server_port=8080
48    
# Line 82  Line 82 
82  diff ../jscoverage.html DIR/jscoverage.html  diff ../jscoverage.html DIR/jscoverage.html
83  diff ../jscoverage.css DIR/jscoverage.css  diff ../jscoverage.css DIR/jscoverage.css
84  diff ../jscoverage-throbber.gif DIR/jscoverage-throbber.gif  diff ../jscoverage-throbber.gif DIR/jscoverage-throbber.gif
 diff ../jscoverage-sh_main.js DIR/jscoverage-sh_main.js  
 diff ../jscoverage-sh_javascript.js DIR/jscoverage-sh_javascript.js  
 diff ../jscoverage-sh_nedit.css DIR/jscoverage-sh_nedit.css  
85  echo -e 'jscoverage_isReport = true;\r' | cat ../jscoverage.js - | diff - DIR/jscoverage.js  echo -e 'jscoverage_isReport = true;\r' | cat ../jscoverage.js - | diff - DIR/jscoverage.js
86    
87  # 404 not found  # 404 not found
# Line 112  Line 109 
109  mkdir DIR  mkdir DIR
110  case `uname` in  case `uname` in
111    MINGW*)    MINGW*)
112      $VALGRIND jscoverage-server --port=8081 --document-root=recursive --report-dir=DIR --no-instrument=1/ &      $VALGRIND jscoverage-server --no-highlight --port=8081 --document-root=recursive --report-dir=DIR --no-instrument=1/ &
113      ;;      ;;
114    *)    *)
115      $VALGRIND jscoverage-server --port=8081 --document-root=recursive --report-dir=DIR --no-instrument=/1/ &      $VALGRIND jscoverage-server --no-highlight --port=8081 --document-root=recursive --report-dir=DIR --no-instrument=/1/ &
116      ;;      ;;
117  esac  esac
118  server_pid=$!  server_pid=$!
# Line 131  Line 128 
128  # kill $server_pid  # kill $server_pid
129  shutdown  shutdown
130    
131  $VALGRIND jscoverage-server --port 8082 --document-root recursive --report-dir DIR --no-instrument 1/ &  $VALGRIND jscoverage-server --no-highlight --port 8082 --document-root recursive --report-dir DIR --no-instrument 1/ &
132  server_pid=$!  server_pid=$!
133  server_port=8082  server_port=8082
134    

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

  ViewVC Help
Powered by ViewVC 1.1.24