Re: RFC - changes to the test suite

Tom Tromey
2013-02-26T19:00:48Z

Tom> So, the first question is -- does anybody care strongly about where the
Tom> files end up? And, if you do care, why do you care?

Yao> When running testsuite with boardfile native-gdbserver.exp, does
Yao> GDBserver need to know the updated location of files? or do we plan to
Yao> spawn GDBserver in "./outputs/gdb.DIR/FILE" directory?

I will test it and find out.

Tom> I also added an "inotify" mode to the tests so you can easily see which
Tom> tests write files outside of their specified directory. There are still
Tom> a few remaining, I ran out of steam dotting every "i".

Yao> What is the motivation of adding "inotify" mode? to monitor the
Yao> progress of a given test, or something else?

It is just for debugging the code to ensure that tests don't write
outside of the allowed directories. It isn't perfect, but it helped me
find some bugs, and I thought it would be handy to keep around.

Tom