HomePhabricator

[libcxx testing] Remove ALLOW_RETRIES from lock_guard tests

Authored by davezarzycki on May 18 2020, 4:39 AM.

Description

[libcxx testing] Remove ALLOW_RETRIES from lock_guard tests

These two tests were clumsily using time measurements to determine
whether std::lock_guard was working correctly. In practice, this
approach merely verified that the underlying lock properly waits.

Now these two tests verify that lock is acquired, not dropped
prematurely, and finally, actually dropped at the end of the scope.

Details

Committed
davezarzyckiMay 18 2020, 4:44 AM
Parents
rG87b235db63a3: Turn -Wmax-tokens off by default
Branches
Unknown
Tags
Unknown