Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-08-02 11:58:38


"Rozental, Gennadiy" <gennadiy.rozental_at_[hidden]> writes:

>> > ########################################
>> >
>> > local test-dir =
>> > "$(BOOST_ROOT)$(SLASH)libs$(SLASH)test$(SLASH)test$(SLASH)"
>> > ;
>> >
>> > run ifstream_line_iterator_test.cpp
>> <lib>../build/boost_unit_test_framework
>> > : #args
>> > : $(test-dir)test_files/ifstream_line_iterator.tst1
>> > $(test-dir)test_files/ifstream_line_iterator.tst2 ;
>> >
>> > What is wrong here?
>>
>> 1. It's ugly.
>
> If I am not mistaken it was you or Beman who introduced this var, because
> local reference (../test or ./) did not work.

cvs annotate reveals that it was Beman, but I can't speak for his mistakes.

>> 2. I'm not certain that BOOST_ROOT will always be set (though it
>> probably will).
>
> I think it is. And it still unclear why it's failing then.

Maybe it generates a command-line that's too long.

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

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