Boost logo

Boost :

Subject: Re: [boost] Running Boost Regression Tests
From: frederic.bron_at_[hidden]
Date: 2008-12-04 07:43:50


The error message listed below is not relevant as I was reinstalling cygwin at the same time... sorry for that.
However, I can now run the tests for cygwin but I would like to submit a change to tools_regression/src/regression.py (see below), can I do this?

Index: regression.py
===================================================================
--- regression.py (revision 50110)
+++ regression.py (working copy)
@@ -149,7 +149,7 @@
         self.tools_regression_root = os.path.join( self.regression_root,'tools_regression' )
         self.xsl_reports_dir = os.path.join( self.tools_regression_root, 'xsl_reports' )
         self.timestamp_path = os.path.join( self.regression_root, 'timestamp' )
- if sys.platform == 'win32':
+ if sys.platform == 'win32' or sys.platform == 'cygwin':
             self.patch_boost = 'patch_boost.bat'
             self.bjam = { 'name' : 'bjam.exe' }
             self.process_jam_log = { 'name' : 'process_jam_log.exe' }

F. Bron
___________________________________

boost-bounces_at_[hidden] a écrit sur 04/12/2008 12:19:13 :

> I have fixed the problem with bjam (.exe was missing for cygwin) but
> there is another problem later. Any help on that?
>
> Traceback (most recent call last):
> File "run.py", line 60, in <module>
> runner(root)
> File "/cygdrive/g/boost_test/tools_regression_src/regression.py",
> line 189, in __init__
> self.main()
> File "/cygdrive/g/boost_test/tools_regression_src/regression.py",
> line 542, in main
> getattr(self,action_m)()
> File "/cygdrive/g/boost_test/tools_regression_src/regression.py",
> line 499, in command_regression
> self.command_setup()
> File "/cygdrive/g/boost_test/tools_regression_src/regression.py",
> line 293, in command_setup
> self.command_patch()
> File "/cygdrive/g/boost_test/tools_regression_src/regression.py",
> line 284, in command_patch
> self.import_utils()
> File "/cygdrive/g/boost_test/tools_regression_src/regression.py",
> line 613, in import_utils
> import utils as utils_module
> File
> "/cygdrive/g/boost_test/tools_regression/xsl_reports/utils/__init__.
> py", line 2, in <module>
> from accept_args import *
> File
> "/cygdrive/g/boost_test/tools_regression/xsl_reports/utils/accept_args.
> py", line 2, in <module>
> import getopt
> ImportError: No module named getopt
>
> F. Bron
> ___________________________________
> Frédéric Bron (frederic.bron_at_[hidden])
> Unité ALT, Alcan CRV, BP 27, 38341 Voreppe
> +33 4 76 57 81 72, +33 6 07 48 56 67
>
> boost-bounces_at_[hidden] a écrit sur 04/12/2008 06:48:33 :
>
> >
> >
> > Yes and bjam was built in tools_bjam/bin.cygwinx86/bjam.exe but not
> > found. Why? Is it because of the extension ".exe" that is not
> > supposed to exists on a posix type machine?
> >
> > Frédéric
> >
> > boost-bounces_at_[hidden] a écrit sur 03/12/2008 22:45:43 :
> >
> > > AMDG
> > >
> > > vicente.botet wrote:
> > > > bjam must be on your PATH. E.g. copy it on /bin.
> > > >
> > >
> > > The regression script is supposed to build bjam.
> > >
> > > In Christ,
> > > Steven Watanabe
> > >
> > > _______________________________________________
> > > Unsubscribe & other changes: http://lists.boost.
> > org/mailman/listinfo.cgi/boost
> >
> >
> > Avis :
> > Ce message et toute pièce jointe sont la propriété d'Alcan et sont
> > destinés seulement aux personnes ou à l'entité à qui le message est
> > adressé. Si vous avez reçu ce message par erreur, veuillez le
> > détruire et en aviser l'expéditeur par courriel. Si vous n'êtes pas
> > le destinataire du message, vous n'êtes pas autorisé à utiliser, à
> > copier ou à divulguer le contenu du message ou ses pièces jointes
> > en tout ou en partie.
> >
> > Notice:
> > This message and any attachments are the property of Alcan and are
> > intended solely for the named recipients or entity to whom this
> > message is addressed. If you have received this message in error
> > please inform the sender via e-mail and destroy the message. If you
> > are not the intended recipient you are not allowed to use, copy or
> > disclose the contents or attachments in whole or in part.
> >
> > _______________________________________________
> > Unsubscribe & other changes: http://lists.boost.
> org/mailman/listinfo.cgi/boost
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk