test/parser: Allow raw config data in test .c files
authorJeremy Kerr <jk@ozlabs.org>
Wed, 15 May 2013 05:11:43 +0000 (13:11 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Thu, 16 May 2013 03:53:34 +0000 (11:53 +0800)
commite0a7cb18a4237aa826e5e121ff17373814a1872d
tree110f5785d90478752e7a194c4f4ae4c76692f3b1
parenta5a787c5d170708be5d15ee9418520917653a104
test/parser: Allow raw config data in test .c files

Add a little post-processing script (extract-config.awk) to allow us to
put the config data directly into the test .c files, without having to
quote the C string.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
test/parser/Makefile.am
test/parser/extract-config.awk [new file with mode: 0644]
test/parser/parser-test.h