summaryrefslogtreecommitdiff
path: root/src/unittest
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2017-11-21 17:58:41 -0800
committerGabe Black <gabeblack@google.com>2017-11-22 23:12:57 +0000
commitf8816180fd920b444d5ae19f22aff8350e23d8e5 (patch)
tree6226b5976c83b387199e3937ddf86d49b01795f2 /src/unittest
parent9651c0278d93bf5c4620e198baac975f0c84e9a0 (diff)
downloadgem5-f8816180fd920b444d5ae19f22aff8350e23d8e5.tar.xz
tests: Resurrect initest input file(s).
Delete the current version of foo.ini which was modified, restore the previous version, and initest.ini. Preprocess initest.ini which includes foo.ini, and tidy up the resulting file. This file will (mostly) get the initest unit test to work. Some other cleanups are still necessary. Change-Id: I4e46abc73ac89f88177eec92f572452f63ba8019 Reviewed-on: https://gem5-review.googlesource.com/6041 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/unittest')
-rw-r--r--src/unittest/foo.ini9
-rw-r--r--src/unittest/initest.ini17
2 files changed, 17 insertions, 9 deletions
diff --git a/src/unittest/foo.ini b/src/unittest/foo.ini
deleted file mode 100644
index 0f91c1fd6..000000000
--- a/src/unittest/foo.ini
+++ /dev/null
@@ -1,9 +0,0 @@
-[Foo]
-Foo1=89
-Foo2=384
-
-[General]
-Test3=89
-
-[Junk]
-Test4+=mia
diff --git a/src/unittest/initest.ini b/src/unittest/initest.ini
new file mode 100644
index 000000000..212c7902e
--- /dev/null
+++ b/src/unittest/initest.ini
@@ -0,0 +1,17 @@
+[General]
+ Test1=BARasdf
+ Test2=bar
+
+[Junk]
+Test3=yo
+Test4=mama
+
+[Foo]
+Foo1=89
+Foo2=384
+
+[General]
+Test3=89
+
+[Junk]
+Test4+=mia