This is an archive of the discontinued LLVM Phabricator instance.

Unique file names for TestStarted and TestFinished.
ClosedPublic

Authored by chaoren on Jun 5 2015, 1:57 PM.

Diff Detail

Repository
rL LLVM

Event Timeline

chaoren updated this revision to Diff 27226.Jun 5 2015, 1:57 PM
chaoren retitled this revision from to Unique file names for TestStarted and TestFinished..
chaoren updated this object.
chaoren edited the test plan for this revision. (Show Details)
chaoren added reviewers: zturner, clayborg.
chaoren added a subscriber: Unknown Object (MLST).
zturner edited edge metadata.Jun 5 2015, 1:58 PM

This seems suspicious to me. Why are 2 different instances of dotest.py
running in different processes both trying to run the same test?

Why are 2 different instances of dotest.py running in different processes both trying to run the same test?

They're not. But all test suites write to the same TestStarted and TestFinished.

Oh ok, that makes sense then. Would it be better to use the filename
instead of the pid? I guess it doesn't matter because nobody really looks
at those files anyway, they're just for bookkeeping for the test suite. So
lgtm, up to you if you want to use filename or pid.

There might not be a filename.

Or you could have the same file name but in different search directories.

This revision was automatically updated to reflect the committed changes.