~peter-pearse/ubuntu/natty/guile-1.8/prop001

« back to all changes in this revision

Viewing changes to examples/modules/check.test

  • Committer: Bazaar Package Importer
  • Author(s): أحمد المحمودي (Ahmed El-Mahmoudy)
  • Date: 2009-07-20 19:39:17 UTC
  • mfrom: (1.2.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20090720193917-s0985l9wxihwoscl
Tags: 1.8.7+1-1ubuntu1
* Merge from Debian unstable, remaining changes: (LP: #401816)
  - Build with -Wno-error.
  - Build with thread support. Some guile-using programs like autogen need it.
  - Add debian/guile-1.8-libs.shlibs: Thread support breaks ABI, bump the soname.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
 
3
 
# must be run from this directory
4
 
guile=${GUILE-../../libguile/guile}
5
 
 
6
 
if test "X$srcdir" = X; then
7
 
    srcdir=.
8
 
fi
9
 
 
10
 
set -e
11
 
 
12
 
#
13
 
# ./main test
14
 
#
15
 
$guile -s $srcdir/main > TMP
16
 
cat <<EOF | diff -u - TMP
17
 
module-0 foo
18
 
module-0 bar
19
 
module-1 foo
20
 
module-1 bar
21
 
module-2 braz
22
 
module-2 braz
23
 
module-2 foo
24
 
EOF
25
 
rm -f TMP
26
 
 
27
 
# check.test ends here