Proceedings of the 2019 International Conference on Modeling, Simulation and Big Data Analysis (MSBDA 2019)

Haskell Compiler Testing Automation Based on Equivalence-Modulo-Inputs Method

Authors
Tianchi Li
Corresponding Author
Tianchi Li
Available Online August 2019.
DOI
10.2991/msbda-19.2019.25How to use a DOI?
Keywords
Software Engineering, Testing Automation, Compiler Testing, Haskell, Type system
Abstract

Equivalence Modulo Inputs (EMI) has become an effective approach for automatically testing compilers. It has revealed thousands of bugs of C compilers GCC and LLVM. Haskell is a purely functional programming language with static type checking, which satisfies the emerging need of parallel computing for big data on multicore processors. GHC, the mainstream compiler for Haskell, inevitably suffers from bugs. When applying EMI to test GHC, two challenges are coverage definition and typing correctness preservation. This paper introduces an approach to generate Haskell programs as EMI test input of GHC by solving the two Haskell specified challenges.

Copyright
© 2019, the Authors. Published by Atlantis Press.
Open Access
This is an open access article distributed under the CC BY-NC license (http://creativecommons.org/licenses/by-nc/4.0/).

Download article (PDF)

Volume Title
Proceedings of the 2019 International Conference on Modeling, Simulation and Big Data Analysis (MSBDA 2019)
Series
Advances in Computer Science Research
Publication Date
August 2019
ISBN
978-94-6252-784-3
ISSN
2352-538X
DOI
10.2991/msbda-19.2019.25How to use a DOI?
Copyright
© 2019, the Authors. Published by Atlantis Press.
Open Access
This is an open access article distributed under the CC BY-NC license (http://creativecommons.org/licenses/by-nc/4.0/).

Cite this article

TY  - CONF
AU  - Tianchi Li
PY  - 2019/08
DA  - 2019/08
TI  - Haskell Compiler Testing Automation Based on Equivalence-Modulo-Inputs Method
BT  - Proceedings of the 2019 International Conference on Modeling, Simulation and Big Data Analysis (MSBDA 2019)
PB  - Atlantis Press
SP  - 160
EP  - 165
SN  - 2352-538X
UR  - https://doi.org/10.2991/msbda-19.2019.25
DO  - 10.2991/msbda-19.2019.25
ID  - Li2019/08
ER  -