~ubuntu-branches/debian/squeeze/erlang/squeeze

« back to all changes in this revision

Viewing changes to lib/wx/test/wxt

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2009-05-07 15:07:37 UTC
  • mfrom: (1.2.1 upstream) (5.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090507150737-i4yb5elwinm7r0hc
Tags: 1:13.b-dfsg1-1
* Removed another bunch of non-free RFCs from original tarball
  (closes: #527053).
* Fixed build-dependencies list by adding missing comma. This requires
  libsctp-dev again. Also, added libsctp1 dependency to erlang-base and
  erlang-base-hipe packages because the shared library is loaded via
  dlopen now and cannot be added using dh_slibdeps (closes: #526682).
* Weakened dependency of erlang-webtool on erlang-observer to recommends
  to avoid circular dependencies (closes: #526627).
* Added solaris-i386 to HiPE enabled architectures.
* Made script sources in /usr/lib/erlang/erts-*/bin directory executable,
  which is more convenient if a user wants to create a target Erlang system.
* Shortened extended description line for erlang-dev package to make it
  fit 80x25 terminals.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh -f
 
2
#
 
3
#  %CopyrightBegin%
 
4
#  
 
5
#  Copyright Ericsson AB 2008-2009. All Rights Reserved.
 
6
#  
 
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/.
 
12
#  
 
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
 
16
#  under the License.
 
17
#  
 
18
#  %CopyrightEnd%
 
19
#
 
20
# Usage: mt <args to erlang startup script>
 
21
 
 
22
log=test_log_$$
 
23
latest=test_log_latest
 
24
args=${1+"$@"}
 
25
erlcmd="erl -sname test_server -smp -pa ../ebin $p $args -wx_test_verbose true -wx_test_timeout"
 
26
 
 
27
echo "Give the following command in order to see the outcome:"
 
28
echo ""
 
29
echo "  less test_log$$"
 
30
 
 
31
rm "$latest" 2>/dev/null
 
32
ln -s "$log" "$latest"
 
33
touch "$log"
 
34
 
 
35
ostype=`uname -s`
 
36
if [ "$ostype" = "SunOS" ] ; then 
 
37
  /usr/openwin/bin/xterm  -T Testing -l -lf "$log" -e $erlcmd &
 
38
else
 
39
  xterm -T Testing -e script -f -c "$erlcmd" "$log"  &
 
40
fi
 
41
tail -f "$log" | egrep 'Eval|<ERROR>|NYI'
 
 
b'\\ No newline at end of file'