Search
lxdream.org :: lxdream/test/testregs.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename test/testregs.c
changeset 343:bf4bf0da94cc
prev332:4c1b31e646ef
next549:828d103ad115
author nkeynes
date Wed Jan 31 11:00:25 2007 +0000 (13 years ago)
permissions -rw-r--r--
last change Ensure ide is active before doing register tests on it
file annotate diff log raw
1.1 --- a/test/testregs.c Fri Jan 26 02:08:19 2007 +0000
1.2 +++ b/test/testregs.c Wed Jan 31 11:00:25 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: testregs.c,v 1.3 2007-01-26 02:08:19 nkeynes Exp $
1.6 + * $Id: testregs.c,v 1.4 2007-01-31 11:00:25 nkeynes Exp $
1.7 *
1.8 * Register mask tests. These are simple "write value to register and check
1.9 * that we read back what we expect" tests.
1.10 @@ -193,6 +193,8 @@
1.11 int i;
1.12 int failures = 0;
1.13 int tests = 0;
1.14 +
1.15 + ide_init();
1.16
1.17 for( i=0; test_cases[i].reg != 0; i++ ) {
1.18 unsigned int oldval = long_read( test_cases[i].reg );
.