5
# Copyright Ericsson AB 2008-2009. All Rights Reserved.
7
# The contents of this file are subject to the Erlang Public License,
8
# Version 1.1, (the "License"); you may not use this file except in
9
# compliance with the License. You should have received a copy of the
10
# Erlang Public License along with this software. If not, it can be
11
# retrieved online at http://www.erlang.org/.
13
# Software distributed under the License is distributed on an "AS IS"
14
# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
15
# the License for the specific language governing rights and limitations
20
# Usage: mt <args to erlang startup script>
23
latest=test_log_latest
25
erlcmd="erl -sname test_server -smp -pa ../ebin $p $args -wx_test_verbose true -wx_test_timeout"
27
echo "Give the following command in order to see the outcome:"
29
echo " less test_log$$"
31
rm "$latest" 2>/dev/null
32
ln -s "$log" "$latest"
36
if [ "$ostype" = "SunOS" ] ; then
37
/usr/openwin/bin/xterm -T Testing -l -lf "$log" -e $erlcmd &
39
xterm -T Testing -e script -f -c "$erlcmd" "$log" &
41
tail -f "$log" | egrep 'Eval|<ERROR>|NYI'
b'\\ No newline at end of file'