Mercurial > ecos
diff packages/language/cxx/ustl/current/tests/bvt25.cpp @ 3201:f5d2adaa8595
* src/fstream.cpp: Fix processing of fstream openmode. Patch from
uSTL HEAD.
* cdl/ustl.cdl: Build interactive tests under control of a CDL
option. Build ROM filesystem for bvt25 test under control of a
CDL option.
* tests/bvt25.cpp: Use ROM filesystem if available.
* tests/bvt05.cpp, tests/bvt16.cpp: Reduce data structure sizes
for embedded use.
| author | jld |
|---|---|
| date | Thu, 21 Feb 2013 08:34:10 +0000 |
| parents | 4885e0722884 |
| children |
line wrap: on
line diff
--- a/packages/language/cxx/ustl/current/tests/bvt25.cpp +++ b/packages/language/cxx/ustl/current/tests/bvt25.cpp @@ -5,6 +5,16 @@ #include "stdtest.h" +#ifdef CYGIMP_USTL_TESTS_BVT25_ROMFS +# include <cyg/fileio/fileio.h> +# if (CYG_BYTEORDER == CYG_LSBFIRST) +# include <cyg/ustl/bvt25fs_le.h> +# else +# include <cyg/ustl/bvt25fs_be.h> +# endif +MTAB_ENTRY(romfs_mte1, "/", "romfs", "", (CYG_ADDRWORD) &filedata[0]); +#endif + void TestFStream (void) { fstream fs ("bvt/bvt25.std", ios::in | ios::nocreate);
