dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[DejaGnu] dejagnu will not build


From: Matthew Bemis
Subject: [DejaGnu] dejagnu will not build
Date: Tue, 30 Apr 2002 09:43:48 -0400

hello,
I attached the following error messages produced when building dejagnu.
also I attached a patch that will add xml output logging to tests that
use expect_out.
please note hoever that I removed a ^L from the framework.exp for
I figured it was there on accident.
Please look carefully at the patch.
thanks
matt

WARNING: No tool specified
Test Run By bemis on Tue Apr 30 09:32:26 2002
Native configuration is alphaev56-unknown-linux-gnu

                ===  tests ===

Schedule of variations:
    unix

Running target unix
Using
/mnt/u2/bemis/dejagnu/source/latest_test/testsuite/../config/base-config.e

xp as tool-and-target-specific interface file.
Using
/mnt/u2/bemis/dejagnu/source/latest_test/testsuite/config/default.exp as
t
ool-and-target-specific interface file.
Running
/mnt/u2/bemis/dejagnu/source/latest_test/testsuite/libdejagnu/tunit.exp
...
ERROR: tcl error sourcing
/mnt/u2/bemis/dejagnu/source/latest_test/testsuite/lib
dejagnu/tunit.exp.
ERROR: can't read "text": no such variable
    while executing
"list $text $data"
    (procedure "exe_size" line 34)
    invoked from within
"exe_size "unit""
    (file
"/mnt/u2/bemis/dejagnu/source/latest_test/testsuite/libdejagnu/tunit.e
xp" line 11)
    invoked from within
"source
/mnt/u2/bemis/dejagnu/source/latest_test/testsuite/libdejagnu/tunit.exp"

    ("uplevel" body line 1)
    invoked from within
"uplevel #0 source
/mnt/u2/bemis/dejagnu/source/latest_test/testsuite/libdejagnu
/tunit.exp"
    invoked from within
"catch "uplevel #0 source $test_file_name""
Running
/mnt/u2/bemis/dejagnu/source/latest_test/testsuite/runtest.all/libs.exp
...
Running
/mnt/u2/bemis/dejagnu/source/latest_test/testsuite/runtest.all/options.e

xp ...
Running
/mnt/u2/bemis/dejagnu/source/latest_test/testsuite/runtest.all/stats-sub

.exp ...
Running
/mnt/u2/bemis/dejagnu/source/latest_test/testsuite/runtest.all/stats.exp

 ...

                ===  Summary ===

# of expected passes            53
make[5]: Leaving directory
`/mnt/u2/bemis/dejagnu/build/alpha7/bootstrap-gcc_2.9
5.3/native/latest_test/testsuite'
make[4]: Leaving directory
`/mnt/u2/bemis/dejagnu/build/alpha7/bootstrap-gcc_2.9
:


--
Matt Bemis
Alpha Linux Group
University of New Hampshire

diff -urN latest/lib/framework.exp latest_expect_out/lib/framework.exp
--- latest/lib/framework.exp    Fri Apr 26 01:29:34 2002
+++ latest_expect_out/lib/framework.exp Tue Apr 30 09:29:11 2002
@@ -24,22 +24,12 @@
 set warning_threshold 3
 # This or more errors and a test fails.
 set perror_threshold 1
-^L
 proc mail_file { file to subject } {
     if [file readable $file] {
        catch "exec mail -s \"$subject\" $to < $file"
     }
 }

-#
-# Check for xml output flag or environment variable
-#
-proc check_xml { } {
-    global env
-
-    set x "RUNTESTFLAGS"
-    return [format "%s" $env($x)]
-}

 #
 # Insert DTD for xml format checking
@@ -719,7 +709,7 @@
         }
         global expect_out

-        set output ""
+        set output "expect_out(buffer)"
         xml_output "  <test>"
         xml_output "    <log>$output</log>"
         xml_output "    <result>$type</result>"





reply via email to

[Prev in Thread] Current Thread [Next in Thread]