[Boost.Test] error when running

Hi, I am new to Boost Test framework. I wrote a small test case and put it as a post build event. #include "stdafx.h" BOOST_AUTO_TEST_CASE(Test1) { BOOST_REQUIRE(false); } I got this error after linking. 1>Running Unit Tests 1>'c:\Documents' is not recognized as an internal or external command, 1>operable program or batch file. Anyone knows how to fix this? Thanks

On 06/30/2010 11:30 PM, FIXED-TERM Lay Seak Meng (CR/RTC1.2-NA) wrote:
Hi,
I am new to Boost Test framework. I wrote a small test case and put it as a post build event.
#include "stdafx.h" BOOST_AUTO_TEST_CASE(Test1) { BOOST_REQUIRE(false); }
I got this error after linking.
1>Running Unit Tests 1>'c:\Documents' is not recognized as an internal or external command, 1>operable program or batch file.
Anyone knows how to fix this?
Perhaps you forgot to quote the command you put as a post-build event. An it doesn't seem to be relevant to Boost.Test, BTW.
participants (2)
-
Andrey Semashev
-
FIXED-TERM Lay Seak Meng (CR/RTC1.2-NA)