race/

directory
v0.14.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2018 License: Apache-2.0

README

race instrumentation
====================

race_auto_test
--------------

Triggers a data race inside of a test but does not explicitly enable race mode.
Should pass if race instrumentation is disabled.

race_on_test
------------

Checks that race mode is actually enabled in binaries and tests that enable
it through an attribute by running a binary (``race_bin``) and a test
(``race_on_tester``) and verifying that they fail.

Also checks that the ``race`` tag is enabled in the test itself and in
a library.

race_feature_test
-----------------

Checks that race mode can be enabled with ``--features=race`` by running
``race_auto_test`` with that flag and verifying that it fails.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL