hmmm, something with python3 doesn't set current_test the first time. I'll
investigate.

Matthew Gidden
Nuclear Energy University Programs Fellow
The University of Wisconsin -- Madison
Ph. 225.892.3192
Fax 608.263.7451


On Wed, Sep 25, 2013 at 4:04 PM, Anthony Scopatz
<notifications@github.com>wrote:

> In src/CMakeLists.txt:
>
> >  INSTALL(TARGETS CyclusUnitTestDriver
> >    RUNTIME DESTINATION bin
> >    COMPONENT testing
> >    )
> >
> > +# read tests after building the driver, and add them to ctest
> > +set( tgt "CyclusUnitTestDriver")
> > +set( script "${CYCLUS_SRC_DIR}/Config/generate_test_macros.py")
> > +set( exec "--executable=${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${tgt}")
> > +set( out "--output=${CYCLUS_BINARY_DIR}/CTestTestfile.cmake")
> > +add_custom_command(TARGET ${tgt}
> > +  POST_BUILD
> > +  COMMAND python ${script} ${exec} ${out}
>
> Here, I think that you just need to add a from __future__ import
> print_function line at the top of the module and then make all print
> commands into print function calls, ie print().
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/cyclus/cyclus/pull/589/files#r6585910>
> .
>