From: Erik K. <Eri...@ph...> - 2002-06-13 13:36:20
|
Hi, I ported FB1 to SINIX-Z, a SVR4 UNIX clone by Siemens. My next step is to port TCS to this platform. But where to start? Some changes were needed to get the source compiled. How does one create the flatform specific database? -- Dipl.-Ing. Erik Kunze Phone: +49 - 89 - 32 14 07 41 PHILOSYS Software GmbH Fax: +49 - 89 - 32 14 07 12 Edisonstr. 6 Email: Eri...@ph... D-85716 Unterschleissheim WWW: www.philosys.de/~kunze PGP-Key: http://blackhole.pca.dfn.de:11371/pks/lookup?op=get&search=0xD5759581 |
From: Paul R. <pr...@ib...> - 2002-06-14 06:33:16
|
Erik Kunze wrote: > Hi, > > I ported FB1 to SINIX-Z, a SVR4 UNIX clone by Siemens. My next step is > to port TCS to this platform. But where to start? > > Some changes were needed to get the source compiled. > How does one create the flatform specific database? You may not need it. The platform specific database is for tests that need to be re-written to suit a particular platform. For example a test that used multi-threading may need to be written slightly differently. I've never looked into this in detail. However, I would start with making a copy of the existing Linux/Solaris database and runnign the tests to see what happened. Paul -- Paul Reeves http://www.ibphoenix.com Supporting users of Firebird and InterBase |
From: Erik K. <Eri...@ph...> - 2002-06-19 07:08:55
|
Hi Paul, > > How does one create the flatform specific database? > > You may not need it. The platform specific database is for tests that > need to be re-written to suit a particular platform. For example a test > that used multi-threading may need to be written slightly differently. > > I've never looked into this in detail. However, I would start with > making a copy of the existing Linux/Solaris database and runnign the > tests to see what happened. I used the Linux database as a template and edited the environment to suit my needs. And here's the output of the CF_ISQL series: $ ./runtcs Tue Jun 18 13:25:16 DST 2002 Reading configuration file ".tcs_config"... Version set to: 6.0.0 Boilerplate set to: QA_BP Environment set to: QA_SHR Run set to: DA_TST Scanning System Environment for REMOTE variables REMOTE_DIR=/user1/build/SINIX-Z/tcs-1.0/tcs/scripts REMOTE_DIR1=/user1/build/SINIX-Z/tcs-1.0/tcs/scripts REMOTE_DIR11=/user1/build/SINIX-Z/tcs-1.0/tcs/scripts WHERE_GDB=/user1/build/SINIX-Z/tcs-1.0/tcs/scripts WHERE_GDB1=/user1/build/SINIX-Z/tcs-1.0/tcs/scripts WHERE_GDB2=/user1/build/SINIX-Z/tcs-1.0/tcs/scripts WHERE_GDB3=/user1/build/SINIX-Z/tcs-1.0/tcs/scripts WHERE_GDB_EXTERNAL=/user1/build/SINIX-Z/tcs-1.0/tcs/scripts Welcome to TCS: V4.16 29-Jan-1998 tcs> rs CF_ISQL Running series CF_ISQL started on Wed Jun 19 09:05:19 2002 Running global test CF_ISQL_01 ... passed Running global test CF_ISQL_02 ... passed Running global test CF_ISQL_03 ... passed Running global test CF_ISQL_04 ... passed Running global test CF_ISQL_05 ... passed Running global test CF_ISQL_06 ... passed Running global test CF_ISQL_07 ... passed Running global test CF_ISQL_08 ... passed Running global test CF_ISQL_09 ... passed Running global test CF_ISQL_10 ... *** failed **** Test CF_ISQL_10 failed on 19-JUN-2002: initialized by FSG on 16-OCT-2000 with boilerplate QA_BP ------------------- 2 a 2,10 > Generator GEN1, current value is 1000A INTEGER Nullable > GENID_FIELD Computed by: (a + gen_id(gen1, 1)) > > A GENID_FIELD > ============ ===================== > > 10 1011 > 12 1014 > ++++++++++++++++++++++++++++++++++++++++++++++++++ 3,5 d 12 < A INTEGER Nullable < GENID_FIELD Computed by: (a + gen_id(gen1, 1)) < ++++++++++++++++++++++++++++++++++++++++++++++++++ 12,20 d 18 < Generator GEN1, current value is 1000 < < A GENID_FIELD < ============ ===================== < < 10 1011 < 12 1014 < < Generator GEN1, current value is 1000 ++++++++++++++++++++++++++++++++++++++++++++++++++ ------------------- Running global test CF_ISQL_11 ... passed Running global test CF_ISQL_12 ... passed Running global test CF_ISQL_13 ... passed Running global test CF_ISQL_14 ... passed Running global test CF_ISQL_15 ... passed Running global test CF_ISQL_16 ... passed Running global test CF_ISQL_17 ... **** tcs: Can't translate: RUN. Giving up. Test CF_ISQL_10 failed due to a different output (white spaces only may be a DOS-UNIX format problem). Can I ignore these kind of errors or is my setup/database wrong? Test CF_ISQL_17 didn't even run. What could be the reason and how to fix it? My boss want me to fix the SINIX-Z port of FB1 to pass all tests! Any help is much appreciated! -- Dipl.-Ing. Erik Kunze Phone: +49 - 89 - 32 14 07 41 PHILOSYS Software GmbH Fax: +49 - 89 - 32 14 07 12 Edisonstr. 6 Email: Eri...@ph... D-85716 Unterschleissheim WWW: www.philosys.de/~kunze PGP-Key: http://blackhole.pca.dfn.de:11371/pks/lookup?op=get&search=0xD5759581 |
From: Paul R. <pr...@ib...> - 2002-06-19 11:24:26
|
Erik Kunze wrote: > > > Test CF_ISQL_10 failed due to a different output (white spaces only may > be a DOS-UNIX format problem). Can I ignore these kind of errors or is my > setup/database wrong? > These errors can be ignored. If you are happy that the values in the results match the original values that are stored then just re-initialise the test locally. Next time you run the test it will do a diff against the entry in the local database. Magically it will find that the test matches now matches the original and you will see the word 'PASSED'. > Test CF_ISQL_17 didn't even run. What could be the reason and how to fix > it? I'm not sure. The RUN command should cause TCS to start a shell session. In the case of this test it should run the drop_gdb executable. You may need to dig into the source code of tcs to see what it thinks it is doing. I've never had to do anything under Linux or Win32 - TCS knows how to launch a shell. I suspect the SVR4 syntax may be a little different. Paul -- Paul Reeves http://www.ibphoenix.com Supporting users of Firebird and InterBase |