Mercurial > flash_v2
diff packages/kernel/current/tests/kcache1.c @ 76:435cced73e2f ecos-v1_3_1-release
eCos v1.3.1 merged from eCos master repository on 2000-03-27-23:22:51-BST
| author | jlarmour |
|---|---|
| date | Tue, 28 Mar 2000 14:10:45 +0000 |
| parents | bf00f99aec69 |
| children | 59d97b6ba612 |
line wrap: on
line diff
--- a/packages/kernel/current/tests/kcache1.c +++ b/packages/kernel/current/tests/kcache1.c @@ -306,9 +306,12 @@ static void entry0( cyg_addrword_t data // testing infrastructure is prepared to wait. The simplest way to get // these tests to run quickly is to make them think they are running // under a simulator. - + // If the target actually is a simulator, skip the below - it's very + // slow on the simulator, even with reduced loop counts. + if (cyg_test_is_simulator) + CYG_TEST_PASS_FINISH("End of test"); + cyg_test_is_simulator = 1; - #endif #ifdef HAL_ICACHE_INVALIDATE_ALL
