Visible to the public SimRT: An Automated Framework to Support Regression Testing for Data Races

TitleSimRT: An Automated Framework to Support Regression Testing for Data Races
Publication TypeConference Paper
Year of Publication2014
AuthorsYu, Tingting, Srisa-an, Witawas, Rothermel, Gregg
Conference NameProceedings of the 36th International Conference on Software Engineering
PublisherACM
Conference LocationHyderabad, India
ISBN Number978-1-4503-2756-5
KeywordsConcurrency, Data Races, Kernels, Processes, Race Vulnerability Study and Hybrid Race Detection, Scalability and Composability, SoS Lablet, Testing
Abstract

Concurrent programs are prone to various classes of difficult-to-detect faults, of which data races are particularly prevalent. Prior work has attempted to increase the cost-effectiveness of approaches for testing for data races by employing race detection techniques, but to date, no work has considered cost-effective approaches for re-testing for races as programs evolve. In this paper we present SimRT, an automated regression testing framework for use in detecting races introduced by code modifications. SimRT employs a regression test selection technique, focused on sets of program elements related to race detection, to reduce the number of test cases that must be run on a changed program to detect races that occur due to code modifications, and it employs a test case prioritization technique to improve the rate at which such races are detected. Our empirical study of SimRT reveals that it is more efficient and effective for revealing races than other approaches, and that its constituent test selection and prioritization components each contribute to its performance.

URLhttp://doi.acm.org/10.1145/2568225.2568294
DOI10.1145/2568225.2568294
Citation KeyYu:2014:SAF:2568225.2568294