• DocumentCode
    1567850
  • Title

    Reachability testing of semaphore-based programs

  • Author

    Lei, Yu ; Carver, Richard

  • Author_Institution
    Dept. of Comput. Sci. Eng., Texas Univ., Arlington, TX
  • fYear
    2004
  • Firstpage
    312
  • Abstract
    Concurrent programming is becoming more important in modern software development. However, concurrent programs exhibit non-deterministic behavior, which makes them difficult to test. In this paper, we describe how to apply reachability testing to semaphore-based multithreaded programs, i.e., programs that use semaphores to synchronize operations on shared data. A novel aspect of reachability testing is that it derives test sequences on-the-fly, avoiding the construction of any static models. Also, our reachability testing algorithms deal with partial orders directly, avoiding the test sequence explosion problem that occurs when independent events are interleaved. We describe a prototype tool called RichTest and report some preliminary results
  • Keywords
    multi-threading; program testing; reachability analysis; synchronisation; RichTest; concurrent programming; nondeterministic behavior; partial orders; reachability testing; semaphore-based multithreaded programs; shared data; software development; Automatic testing; Computational efficiency; Computer science; Concurrent computing; Explosions; Monitoring; Programming; Resource management; Software prototyping; Yarn;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computer Software and Applications Conference, 2004. COMPSAC 2004. Proceedings of the 28th Annual International
  • Conference_Location
    Hong Kong
  • ISSN
    0730-3157
  • Print_ISBN
    0-7695-2209-2
  • Type

    conf

  • DOI
    10.1109/CMPSAC.2004.1342849
  • Filename
    1342849