Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests fail with the legacy preprocessor #11

Open
Halbaroth opened this issue Oct 18, 2024 · 0 comments
Open

Tests fail with the legacy preprocessor #11

Halbaroth opened this issue Oct 18, 2024 · 0 comments

Comments

@Halbaroth
Copy link
Collaborator

I disabled two tests in #10.

The legacy preprocessor failed on the file TSQL007A.cbl. I got the error message:

gixsql/_output/TSQL007A.cbl(33): error: syntax error, unexpected FD, expecting PERIOD

The test TSQL030A.cbl failed too with the output:

***************************************
 DATASRC  : pgsql://test.test@localhost:6666/testdb1?native_cursors=off     
 AUTH     : test                                                            
***************************************
VCFLD1: [                                                                                                    ]                  
CFLD1 : [                                                                                                    ]                  
SET APPLICATION_NAME TO "Identifier1 Identifier2 Identifier3"
SELECT MAX(CID) FROM TAB00 WHERE                  VCFLD1 NOT IN (                                    'AAAAA' ,'BBBBBB' ,'CCCCCCCC' ,'DDDD' ,'EEEEEEEE'  )
SELECT MAX(CID) FROM TAB00 WHERE                   VCFLD1 NOT IN (                                    'AAAAA ' ,'BBBBBB  ' ,'CCCCCCCC   ' ,              ' DDDD' ,'  EEEEEEEE    '                          )

Multiple failures or warnings in test:
  1)   Exit code : 38
  Expected: True
  But was:  False

  2)   Output mismatch (index: 1, expected: [SELECT MAX(CID) FROM TAB00 WHERE                 VCFLD1 NOT IN (                                   'AAAAA' ,'BBBBBB' ,'CCCCCCCC' ,'DDDD' ,'EEEEEEEE' )]
  Expected: True
  But was:  False
@Halbaroth Halbaroth changed the title Tests failed with the legacy preprocessor Tests fail with the legacy preprocessor Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant