public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Diffing and unit-testing eCos configuration files
@ 2012-07-26  8:15 Martin Hans
  0 siblings, 0 replies; only message in thread
From: Martin Hans @ 2012-07-26  8:15 UTC (permalink / raw)
  To: ecos-discuss

Hi all,
I have been frustrated that it is so hard to compare two different eCos configuration files or two versions of the same configuration file and see what the REAL differences are. Also, I had a need to keep the settings in two configuration files the same - except for a few settings.


I am publishing my solution to this here: https://bugzilla.ecoscentric.com/show_bug.cgi?id=1001632


This 

 * adds support for ecosconfig to dump the ecos configuration in an easily diffable and parseable format
 * provides a python module which makes it easy to read an ecos configuration file
 * provides a python script which diffs two ecos config files - they may also be specific revisions in subversion
 * demonstrates how to write a unit-test that checks two config files against each other
 * demonstrates how to write a unit-test that checks that certain critical values are not accidentally changed

I hope this may be useful to someone.

/Martin

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-07-26  8:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-26  8:15 [ECOS] Diffing and unit-testing eCos configuration files Martin Hans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).