講演名 2007-01-18
Cコンパイラ用テストスイートおよびその生成ツールtestgen(FPGAとその応用及び一般)
内山 裕貴, 引地 信之, 石浦 菜岐佐, 永松 祐二,
PDFダウンロードページ PDFダウンロードページへ
抄録(和) コンパイラのテストは,一般にテストスイート(コンパイラの入力となるプログラムの集合)を用いて行う.コンパイラ用テストスイートには類似したコードが多く含まれる傾向があり,プログラムの保守性という点からは必ずしも望ましくない.また,テストに用いるコンパイラやシミュレータの変更やテスト項目の指定などに多くの手作業が必要になることがある.本稿ではこれらの問題を解決する一手法としてテストプログラムの元となる「テンプレートファイル」と設定ファイルからテストスイートを生成する手法を提案する.本手法を既存のテストスイートに適用した結果,テストプログラムの記述量を約60%に削減することができた.
抄録(英) The testing of compilers is usually done using a test suite, or a collection of programs fed into the compilers. The test suite for compilers often includes many similar codes, which is not desiarable from the viewpoint of the program maintainability. It sometimes takes manual editing of many files to switch compilers and simulators or to select specific test sets. As an approach to solve those problems, we propose in this article a method of generating test suites from "template files," which are reduced description of the test programs, and a configaration file. We demonstrate that the total number of the lines for describing an exisiting test suite is reduced to 60% by the proposed method.
キーワード(和) C言語 / コンパイラ / テストスイート / gcc
キーワード(英) C language / compiler / test suite / gcc
資料番号 VLD2006-95,CPSY2006-66,RECONF2006-66
発行日

研究会情報
研究会 RECONF
開催期間 2007/1/11(から1日開催)
開催地(和)
開催地(英)
テーマ(和)
テーマ(英)
委員長氏名(和)
委員長氏名(英)
副委員長氏名(和)
副委員長氏名(英)
幹事氏名(和)
幹事氏名(英)
幹事補佐氏名(和)
幹事補佐氏名(英)

講演論文情報詳細
申込み研究会 Reconfigurable Systems (RECONF)
本文の言語 JPN
タイトル(和) Cコンパイラ用テストスイートおよびその生成ツールtestgen(FPGAとその応用及び一般)
サブタイトル(和)
タイトル(英) Test Suite of C Compilers and Its Generating Tool "testgen"
サブタイトル(和)
キーワード(1)(和/英) C言語 / C language
キーワード(2)(和/英) コンパイラ / compiler
キーワード(3)(和/英) テストスイート / test suite
キーワード(4)(和/英) gcc / gcc
第 1 著者 氏名(和/英) 内山 裕貴 / Yuki UCHIYAMA
第 1 著者 所属(和/英) 関西学院大学 理工学部
Kwansei Gakuin University
第 2 著者 氏名(和/英) 引地 信之 / Nobuyuki HIKICHI
第 2 著者 所属(和/英) / 関西学院大学 理工学部
SRA
第 3 著者 氏名(和/英) 石浦 菜岐佐 / Nagisa ISHIURA
第 3 著者 所属(和/英) 関西学院大学:(現)日本総合研究所
Kwansei Gakuin University
第 4 著者 氏名(和/英) 永松 祐二 / Yuji NAGAMATSU
第 4 著者 所属(和/英)
Kwansei Gakuin University:(Present address)The Japan Research Institute
発表年月日 2007-01-18
資料番号 VLD2006-95,CPSY2006-66,RECONF2006-66
巻番号(vol) vol.106
号番号(no) 458
ページ範囲 pp.-
ページ数 5
発行日