runTests.py problem

11 views
Skip to first unread message

Jiqiang Guo

unread,
Nov 24, 2014, 4:49:21 PM11/24/14
to stan...@googlegroups.com
I am taking this problem here from https://github.com/stan-dev/stan/pull/1082, as I have not figured out how to fix it.

Working on adding some tests, but I cannot run the test.  Am I the only one having the following problem?

Before running the following test, I did make clean and make clean-all 

$ ./runTests.py src/test/unit/common/
------------------------------------------------------------
make generate-tests -s
------------------------------------------------------------
make test/unit/common//command_init test/unit/common//context_factory test/unit/common//do_bfgs_optimize test/unit/common//do_print test/unit/common//init_adapt test/unit/common//init_nuts test/unit/common//init_static_hmc test/unit/common//init_windowed_adapt test/unit/common//initialize_state test/unit/common//print_progress test/unit/common//run_markov_chain test/unit/common//sample test/unit/common//warmup test/unit/common//write_error_msg test/unit/common//write_iteration_csv test/unit/common//write_iteration test/unit/common//write_model test/unit/common//write_stan
src/test/unit/common//write_iteration_test.cpp:3:10: fatal error: 'test/test-models/good/common/test_lp.cpp' file not
      found
#include <test/test-models/good/common/test_lp.cpp>
         ^
1 error generated.
src/test/unit/common//warmup_test.cpp:3:10: fatal error: 'test/test-models/good/common/test_lp.cpp' file not found
#include <test/test-models/good/common/test_lp.cpp>
         ^
1 error generated.
src/test/unit/common//sample_test.cpp:3:10: fatal error: 'test/test-models/good/common/test_lp.cpp' file not found
#include <test/test-models/good/common/test_lp.cpp>
         ^
1 error generated.
src/test/unit/common//run_markov_chain_test.cpp:3:10: fatal error: 'test/test-models/good/common/test_lp.cpp' file not
      found
#include <test/test-models/good/common/test_lp.cpp>
         ^
1 error generated.
src/test/unit/common//do_bfgs_optimize_test.cpp:4:10: fatal error: 'test/test-models/good/optimization/rosenbrock.cpp'
      file not found
#include <test/test-models/good/optimization/rosenbrock.cpp>
         ^
1 error generated.
src/test/unit/common//command_init_test.cpp:3:10: fatal error: 'test/test-models/good/common/test_lp.cpp' file not found
#include <test/test-models/good/common/test_lp.cpp>
         ^
1 error generated.
g++ -I src -isystem lib/eigen_3.2.2 -isystem lib/boost_1.54.0 -Wall -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -pipe -Wno-unused-function -ftemplate-depth-256   -c -O3 -DGTEST_USE_OWN_TR1_TUPLE -I lib/gtest_1.7.0/include -I lib/gtest_1.7.0 src/test/unit/common//command_init_test.cpp -o test/unit/common//command_init.o
src/test/unit/common//command_init_test.cpp:3:10: fatal error: 'test/test-models/good/common/test_lp.cpp' file not found
#include <test/test-models/good/common/test_lp.cpp>
         ^
1 error generated.
make: *** [test/unit/common//command_init.o] Error 1
make test/unit/common//command_init test/unit/common//context_factory test/unit/common//do_bfgs_optimize test/unit/common//do_print test/unit/common//init_adapt test/unit/common//init_nuts test/unit/common//init_static_hmc test/unit/common//init_windowed_adapt test/unit/common//initialize_state test/unit/common//print_progress test/unit/common//run_markov_chain test/unit/common//sample test/unit/common//warmup test/unit/common//write_error_msg test/unit/common//write_iteration_csv test/unit/common//write_iteration test/unit/common//write_model test/unit/common//write_stan failed
exit now (11/19/14 09:06:56 EST)

Daniel Lee

unread,
Nov 24, 2014, 4:57:13 PM11/24/14
to stan...@googlegroups.com
Can you run without the trailing slash? 

And if that doesn't work, can you make sure your git status shows there's nothing weird in your tree before you start?

That definitely shouldn't be happening.
--
You received this message because you are subscribed to the Google Groups "stan development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stan-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jiqiang Guo

unread,
Nov 24, 2014, 7:08:41 PM11/24/14
to stan...@googlegroups.com

On Mon, Nov 24, 2014 at 4:57 PM, Daniel Lee <bea...@alum.mit.edu> wrote:
Can you run without the trailing slash? 

This fixes it.  Thanks. 

Jiqiang 
Reply all
Reply to author
Forward
0 new messages