Boost logo

Boost :

Subject: [boost] [build] Issue with -- argument
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2015-10-01 03:36:09


Hi,

Due to the change in Boost.Test parameter handling I needed update
Boost.Test Jamfile, since I was passing baseline pattern file names as
arguments to the test module. Here is snippet from my Jamfile:

    return [ $(test-rule) $(source_files) ../build//$(usage-variant)
$(extra-libs)
             : -- <============= Note: I added '--'
             : $(pattern_file)
             ...

Unfortunately -- disappears for some reason from command line.

I found that the following works:

    return [ $(test-rule) $(source_files) ../build//$(usage-variant)
$(extra-libs)
             : -- "" <============= Note ""
             : $(pattern_file)
             ...

Can we fix it so that "" is not required? Is there a different workaround?

Gennadiy


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