public
Description: An Erlang version of Selenium remote control
Homepage: http://trac.charpi.net/charpi.net/wiki/erl_selenium
Clone URL: git://github.com/charpi/erl_selenium.git
charpi (author)
Sat Jul 04 01:26:52 -0700 2009
commit  55a49f0745dab1c1952ad09f83079aba940f13ea
tree    25d29e6b5a9de41b3ef8877cae0f2fd2d6e365fb
parent  75f077395c1f4bfd519322a52edd026e0a40eab2
erl_selenium / validate.sh
100755 25 lines (21 sloc) 0.591 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#! /bin/sh
 
 
status() {
    case "$1" in
"0") echo "Ok"
;;
*) echo "Fail"
;;
    esac
}
 
rake start_server 1> /dev/null 2>&1
echo -n "Validate with OTP R12B-5 : "
sed -i -e "s,ERL_TOP.*,ERL_TOP=\"/usr/local/lib/erlang_R12-B5\"," erlang_config.rb
rake clean 2> /dev/null
rake tests 1> /tmp/selenium_validation_R12.log 2>&1
status $?
echo -n "Validate with OTP R13B-0 : "
sed -i -e "s,ERL_TOP.*,ERL_TOP=\"/usr/local/lib/erlang_R13-B0\"," erlang_config.rb
rake clean 2> /dev/null
rake tests 1> /tmp/selenium_validation_R13.log 2>&1
status $?
rake stop_server 1> /dev/null 2>&1