djowel / spirit_x3

Spirit X3 Experimental
147 stars 33 forks source link

how to run tests? #7

Closed redbaron closed 10 years ago

redbaron commented 10 years ago

Could you please document somewhere how to run tests? I'd like to submit a patch, but can't do it without running tests which I couldn't figure out how :)

Simple run jam in libs/spirit/test directory doesn't work.

$ jam
Jamfile:12: in module scope
rule import unknown in module 

I am not familiar with Boost build system, but I imagine that to make tests work spirit_x3 must be placed somewhere under regular boost source tree and/or some env variables must be set. Could you put basic basic instructions on github wiki or at least in a reply to this ticket please?

redbaron commented 10 years ago

tests run fine after merging to boostorg/spirit

  1. booststrap b2
  2. cd to libs/boost/tests/
  3. ../../../b2 cxxflags=-std=c++11 spirit_x3/qi