Presentation 2011-01-17
Acceleration of Regression Test of Compilers by Program Merging
Kazushi MORIMOTO, Nagisa ISHIURA, Yuki UCHIYAMA, Nobuyuki HIKICHI,
PDF Download Page PDF download Page Link
Abstract(in Japanese) (See Japanese page)
Abstract(in English) This article presents a method of accelerating regression test of compilers by merging programs in test suites. Testing of compilers needs a large amount of computation time, since test suites of compilers usually consist of a huge number of test programs. Especially, in the early stages of compiler development, acceleration of test is an important issue, for bug fixes and regression test are alternately repeated for many times. The proposed method attempts to merge test programs in the test suites into longer programs so as to reduce the time for file open/close. During the merging, conflicts among the names of global variables, functions, and "typedef" declarations, as well as header file inclusion and separate compilation, are carefully handled so that the semantics of the original programs are maintained. In an experiment where about 9,000 test programs in testgen test suite were merged into 117 programs, computation time was reduced into 1/44.2 on Windows Cygwin and into 1/7.7 on Linux (Ubuntu) on 2.53GHz Core i5 with 2GB memory.
Keyword(in Japanese) (See Japanese page)
Keyword(in English) C language / compiler / test suite / gcc / program merging / testgen
Paper # VLD2010-94,CPSY2010-49,RECONF2010-63
Date of Issue

Conference Information
Committee RECONF
Conference Date 2011/1/10(1days)
Place (in Japanese) (See Japanese page)
Place (in English)
Topics (in Japanese) (See Japanese page)
Topics (in English)
Chair
Vice Chair
Secretary
Assistant

Paper Information
Registration To Reconfigurable Systems (RECONF)
Language JPN
Title (in Japanese) (See Japanese page)
Sub Title (in Japanese) (See Japanese page)
Title (in English) Acceleration of Regression Test of Compilers by Program Merging
Sub Title (in English)
Keyword(1) C language
Keyword(2) compiler
Keyword(3) test suite
Keyword(4) gcc
Keyword(5) program merging
Keyword(6) testgen
1st Author's Name Kazushi MORIMOTO
1st Author's Affiliation Kwansei Gakuin University()
2nd Author's Name Nagisa ISHIURA
2nd Author's Affiliation Kwansei Gakuin University
3rd Author's Name Yuki UCHIYAMA
3rd Author's Affiliation K-Opticom Corporation
4th Author's Name Nobuyuki HIKICHI
4th Author's Affiliation Software Research Associates, Inc.
Date 2011-01-17
Paper # VLD2010-94,CPSY2010-49,RECONF2010-63
Volume (vol) vol.110
Number (no) 362
Page pp.pp.-
#Pages 5
Date of Issue