Opened 14 years ago

Closed 8 years ago

#2503 closed Bugs (fixed)

Regression test script refuses to use non-default toolset when user-config.jam is missing

Reported by: li51ckf02@… Owned by: René Rivera
Milestone: Boost 1.38.0 Component: Regression Testing USE GITHUB
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

When executing python run.py --runner=blabla --toolsets=qcc on QNX 6.4.0 when there is no user-config.jam, you get this:
warning: No toolsets are configured.
warning: Configuring default toolset "gcc".

configure works as expected and detects the default toolset as qcc. Regression tests work after doing this.

Change History (6)

comment:1 by Steven Watanabe, 14 years ago

You need a user-config.jam in your home directory which should contain

using qcc ;

comment:2 by viboes, 12 years ago

I don't know if there is an error in your command "qcc" or "gcc"? Can we close this ticket?

comment:3 by li51ckf02@…, 12 years ago

Summary: Specifying toolset qcc for regression testing doesn't work properlyRegression test script refuses to use non-default toolset when user-config.jam is missing

Both qcc and gcc are valid toolsets on QNX.

What I don't understand is why the regression script overrides my choice. Why would the default toolset have a greater chance of working in the absence of user-config.jam? Why not just use the toolset I've told it to use?

I've changed the summary to more accurately reflect the issue. I'm assuming this isn't actually tied to QNX but I haven't verified that.

If this isn't fixed, at least the documentation at http://www.boost.org/development/running_regression_tests.html should be updated. For example with this additional step in the step by step instructions:

  1. Create a user-config.jam file in your home directory that contains the toolset(s) you want to test with. You can use the Boost bootstrap script to generate it.

comment:4 by Niklas Angare <li51ckf02@…>, 12 years ago

Trac didn't pick up my name on the last post. Trying again (sorry for the spam).

comment:5 by Steven Watanabe, 12 years ago

The regression test script should probably pass toolset=qcc instead of qcc to bjam. This allows the toolset to be automatically initialized. There may also be issues with the Boost.Build tests.

comment:6 by René Rivera, 8 years ago

Resolution: fixed
Status: newclosed

The regression script has passed toolset= for some time now.

Note: See TracTickets for help on using tickets.