From b25755993bbc04be0235975e2967533995a493f0 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Thu, 2 Oct 2008 11:27:01 -0700 Subject: unittest: Add unit tests to the scons framework. Also fix the unit tests so they actually compile correctly. --- src/unittest/circletest.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/unittest/circletest.cc') diff --git a/src/unittest/circletest.cc b/src/unittest/circletest.cc index c6fce0f8f..2ee75b6df 100644 --- a/src/unittest/circletest.cc +++ b/src/unittest/circletest.cc @@ -29,12 +29,13 @@ */ #include -#include #include +#include + #include "base/circlebuf.hh" -char *strings[] = { +const char *strings[] = { "This is the first test\n", "he went with his woman to the store\n", "the man with the bat hit the woman with the hat\n", -- cgit v1.2.3