axiom-developer
[Top][All Lists]
Advanced

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

RE: [Axiom-developer] Testing build-improvements


From: Page, Bill
Subject: RE: [Axiom-developer] Testing build-improvements
Date: Wed, 22 Nov 2006 19:43:54 -0500

Gaby, 

I updated by build-improvements testing repository on and rebuilt
Axiom with no errors. (GCL compiled separately with maxpage option).
Then I repeated your suggested tests (see below), but I got the
same results. No problems. Does revision 301 still fail on your
system?

And some good news: I was able to run your new bootsys (Shoe)
compiler script:

address@hidden axiom.test]$ cd src/interp

address@hidden interp]$ document --tag=boot --mode=translate
bootsys msg.boot

GCL (GNU Common Lisp)  2.6.8 CLtL1    Nov 15 2006 13:37:33
Source License: LGPL(gcl,gmp), GPL(unexec,bfd,xgcl)
Binary License:  GPL due to GPL'ed components: (READLINE BFD UNEXEC)
Modifications of this banner must retain notice of a compatible license
Dedicated to the memory of W. Schelter

Use (help) to get some basic information on how to use GCL.
Temporary directory for compiler files set to /tmp/

>msg.clisp PRODUCED
"msg.clisp PRODUCED"

---------

Thankyou, thankyou! (: thanksgiving :)

Regards,
Bill Page.

On Wednesday, November 22, 2006 3:31 PM I wrote:
> 
> On Wednesday, November 22, 2006 1:32 PM Gaby wrote:
> > | On Wednesday, November 22, 2006 12:50 PM Gaby wrote:
> > | 
> > | > | > !              chunk=$arg
> > 
> > Bill Page wrote:
> > 
> > | Why does this fail? What is the value of $chunk?
> > 
> > Most of your questions can be asnwered as follows:
> > Uncomment the "set -x" and "set +x" instructions from the
> > document script and run the script for the files TESTFR.input,
> > INTHEORY.input and VIEW2D.input. 
> > 
> >    ${INPUT}/TESTFR.input: $(srcdir)/fr.spad.pamphlet
> >            $(axiom_build_document) --tangle='TEST FR' --output=$@ $<
> > 
> >    ${INPUT}/INTHEORY.input: $(srcdir)/numtheor.spad.pamphlet
> >            $(axiom_build_document) --tangle='TEST INTHEORY' 
> > --output=$@ $<
> > 
> >    ${INPUT}/VIEW2D.input: $(srcdir)/view2D.spad.pamphlet
> >            $(axiom_build_document) --tangle='TEST VIEW2D' 
> > --output=$@ $<
> >
> 
> Unfortunately what wasted a lot of time and did not tell me
> anything. :-(
> 
> All of these commands executed properly on the axiom-developer.org
> server without changes to document - probably because of the default
> behaviour of bash. See the output attached below.
>

Test repeated with build-improvements Revision: 301
Last Changed Date: 2006-11-22 12:22:44 -0600 (Wed, 22 Nov 2006)
 
address@hidden scripts]$ ./document --tangle='TEST FR'
--output=test1 ${srcdir}/
fr.spad.pamphlet
+ latex=latex
+ address@hidden@
+ tangle=/usr/local/bin/notangle
+ weave=/usr/local/bin/noweave
+ TEXINPUTS=.:/home/page/axiom.test/build/i686-pc-linux/share/texmf/tex:
+ export TEXINPUTS
+ BIBINPUTS=.:/home/page/axiom.test/build/i686-pc-linux/share/texmf/tex:
+ export BIBINPUTS
+ do_index=
+ do_latex=
+ do_tangle=
+ do_weave=
+ chunk=
+ file=
+ output=
+ tag=
+ mode=
+ test 3 -gt 0
+ optval=--tangle=TEST FR
++ echo --tangle=TEST FR
++ sed -e 's/^[-a-zA-Z]*=//'
+ arg=TEST FR
++ echo --tangle=TEST FR
++ sed -e 's/=.*$//'
+ opt=--tangle
+ shift
+ do_tangle=yes
+ test -n 'TEST FR'
++ echo -n TEST FR
+ chunk=TEST FR
+ test 2 -gt 0
+ optval=--output=test1
++ echo --output=test1
++ sed -e 's/^[-a-zA-Z]*=//'
+ arg=test1
++ echo --output=test1
++ sed -e 's/=.*$//'
+ opt=--output
+ shift
+ maybe_missing_value_for --output test1
+ test -z test1
+ output=test1
+ test 1 -gt 0
+
optval=/home/page/axiom.build-improvements/src/algebra/fr.spad.pamphlet
+ break
+ test xyes = xyes
+ file=/home/page/axiom.build-improvements/src/algebra/fr.spad.pamphlet
+ '[' -z test1 ']'
+ '[' -z 'TEST FR' ']'
+ /usr/local/bin/notangle '-RTEST FR'
/home/page/axiom.build-improvements/src/algebra/fr.spad.pamphlet
+ exit 0
address@hidden scripts]$ cat test1
  D(factor (-x), x)
address@hidden scripts]$

address@hidden scripts]$ ./document --tangle='TEST INTHEORY'
--output=test2 ${sr
cdir}/numtheor.spad.pamphlet
+ latex=latex
+ address@hidden@
+ tangle=/usr/local/bin/notangle
+ weave=/usr/local/bin/noweave
+ TEXINPUTS=.:/home/page/axiom.test/build/i686-pc-linux/share/texmf/tex:
+ export TEXINPUTS
+ BIBINPUTS=.:/home/page/axiom.test/build/i686-pc-linux/share/texmf/tex:
+ export BIBINPUTS
+ do_index=
+ do_latex=
+ do_tangle=
+ do_weave=
+ chunk=
+ file=
+ output=
+ tag=
+ mode=
+ test 3 -gt 0
+ optval=--tangle=TEST INTHEORY
++ sed -e 's/^[-a-zA-Z]*=//'
++ echo --tangle=TEST INTHEORY
+ arg=TEST INTHEORY
++ echo --tangle=TEST INTHEORY
++ sed -e 's/=.*$//'
+ opt=--tangle
+ shift
+ do_tangle=yes
+ test -n 'TEST INTHEORY'
++ echo -n TEST INTHEORY
+ chunk=TEST INTHEORY
+ test 2 -gt 0
+ optval=--output=test2
++ echo --output=test2
++ sed -e 's/^[-a-zA-Z]*=//'
+ arg=test2
++ echo --output=test2
++ sed -e 's/=.*$//'
+ opt=--output
+ shift
+ maybe_missing_value_for --output test2
+ test -z test2
+ output=test2
+ test 1 -gt 0
+
optval=/home/page/axiom.build-improvements/src/algebra/numtheor.spad.pam
phlet
+ break
+ test xyes = xyes
+
file=/home/page/axiom.build-improvements/src/algebra/numtheor.spad.pamph
let
+ '[' -z test2 ']'
+ '[' -z 'TEST INTHEORY' ']'
+ /usr/local/bin/notangle '-RTEST INTHEORY'
/home/page/axiom.build-improvements/src/algebra/numtheor.spad.pamphlet
+ exit 0
address@hidden scripts]$ cat test2
)clear all
x1:=4
m1:=5
x2:=2
m2:=3
result:=chineseRemainder(x1,m1,x2,m2)
expected:=14
if (result-expected ~=0) then print "DALY BUG"

)clear completely

inverse:(INT,INT)->INT

inverse(a,b) ==
  borg:INT:=b
  c1:INT := 1
  d1:INT := 0
  while b ~= 0 repeat
    q := a quo b
    r := a-q*b
    print [a, "=", q, "*(", b, ")+", r]
    (a,b):=(b,r)
    (c1,d1):=(d1,c1-q*d1)
  a ~= 1 => error("moduli are not relatively prime")
  positiveRemainder(c1,borg)

if ((inverse(26,15)*26)::IntegerMod(15) ~= 1) then print "DALY BUG"
if ((inverse(15,26)*15)::IntegerMod(26) ~= 1) then print "DALY BUG"

address@hidden scripts]$

address@hidden scripts]$ ./document --tangle='TEST VIEW2D'
--output=test3 ${srcd
ir}/view2D.spad.pamphlet
+ latex=latex
+ address@hidden@
+ tangle=/usr/local/bin/notangle
+ weave=/usr/local/bin/noweave
+ TEXINPUTS=.:/home/page/axiom.test/build/i686-pc-linux/share/texmf/tex:
+ export TEXINPUTS
+ BIBINPUTS=.:/home/page/axiom.test/build/i686-pc-linux/share/texmf/tex:
+ export BIBINPUTS
+ do_index=
+ do_latex=
+ do_tangle=
+ do_weave=
+ chunk=
+ file=
+ output=
+ tag=
+ mode=
+ test 3 -gt 0
+ optval=--tangle=TEST VIEW2D
++ echo --tangle=TEST VIEW2D
++ sed -e 's/^[-a-zA-Z]*=//'
+ arg=TEST VIEW2D
++ echo --tangle=TEST VIEW2D
++ sed -e 's/=.*$//'
+ opt=--tangle
+ shift
+ do_tangle=yes
+ test -n 'TEST VIEW2D'
++ echo -n TEST VIEW2D
+ chunk=TEST VIEW2D
+ test 2 -gt 0
+ optval=--output=test3
++ echo --output=test3
++ sed -e 's/^[-a-zA-Z]*=//'
+ arg=test3
++ echo --output=test3
++ sed -e 's/=.*$//'
+ opt=--output
+ shift
+ maybe_missing_value_for --output test3
+ test -z test3
+ output=test3
+ test 1 -gt 0
+
optval=/home/page/axiom.build-improvements/src/algebra/view2D.spad.pamph
let
+ break
+ test xyes = xyes
+
file=/home/page/axiom.build-improvements/src/algebra/view2D.spad.pamphle
t
+ '[' -z test3 ']'
+ '[' -z 'TEST VIEW2D' ']'
+ /usr/local/bin/notangle '-RTEST VIEW2D'
/home/page/axiom.build-improvements/src/algebra/view2D.spad.pamphlet
+ exit 0
address@hidden scripts]$ cat test3
)clear all
a:=0.5
b:=0.5
y1:=draw(x^3*(a+b*x),x=-1..1,title=="2.2.10 explicit")
g1:=getGraph(y1,1)
pointLists g1
b:=1.0
y2:=draw(x^3*(a+b*x),x=-1..1)
g2:=getGraph(y2,1)
pointLists g2
putGraph(y1,g2,2)
b:=2.0
y3:=draw(x^3*(a+b*x),x=-1..1)
g3:=getGraph(y3,1)
pointLists g3
putGraph(y1,g3,3)
vp:=makeViewport2D(y1)
address@hidden scripts]$

----------




reply via email to

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