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

Diff of /trunk/tests/javascript.sh

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

revision 528 by siliconforks, Thu Apr 1 22:06:01 2010 UTC revision 529 by siliconforks, Thu Apr 1 22:50:30 2010 UTC
# Line 20  Line 20 
20    
21  trap 'rm -fr EXPECTED ACTUAL' 1 2 3 15  trap 'rm -fr EXPECTED ACTUAL' 1 2 3 15
22    
23  export PATH=.:..:$PATH  . ./common.sh
24    
25  if jscoverage-server --version | grep -q 'iconv\|MultiByteToWideChar'  if jscoverage-server --version | grep -q 'iconv\|MultiByteToWideChar'
26  then  then
# Line 30  Line 30 
30  fi  fi
31    
32  rm -fr EXPECTED ACTUAL  rm -fr EXPECTED ACTUAL
33  mkdir EXPECTED  add_header_to_files javascript.expected
 cd javascript.expected  
 for i in *.js  
 do  
   echo '/* automatically generated by JSCoverage - do not edit */' >> ../EXPECTED/$i  
   cat ../../header.js >> ../EXPECTED/$i  
   cat $i >> ../EXPECTED/$i  
 done  
 cd ..  
34  case "$character_encoding_support" in  case "$character_encoding_support" in
35    yes)    yes)
36      $VALGRIND jscoverage --js-version 180 --encoding ISO-8859-1 javascript ACTUAL      $VALGRIND jscoverage --js-version 180 --encoding ISO-8859-1 javascript ACTUAL

Legend:
Removed from v.528  
changed lines
  Added in v.529

  ViewVC Help
Powered by ViewVC 1.1.24