Skip to content

Commit

Permalink
THRIFT-5824 Migrate, refactor and improve Delphi code generation test…
Browse files Browse the repository at this point in the history
… script

Client: Delphi
Patch: Jens Geyer
  • Loading branch information
Jens-G committed Oct 13, 2024
1 parent eae0536 commit 803bdfd
Show file tree
Hide file tree
Showing 4 changed files with 262 additions and 201 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,6 @@ project.lock.json
/lib/delphi/**/*.local
/lib/delphi/**/*.dcu
/lib/delphi/**/*.2007
/lib/delphi/**/codegen/*.bat
/lib/erl/.eunit
/lib/erl/.generated
/lib/erl/.rebar/
Expand Down
33 changes: 10 additions & 23 deletions lib/delphi/test/codegen/README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,15 @@
How to use the test case:
Prerequisites
----------------------------------------------
- copy and the template batch file
- open the batch file and adjust configuration as necessary
- run the batch

- a suitable dcc32.exe must be reachable via normal search path
- the Thrift compiler thrift.exe is searched in this order
- under the `compiler` subdir, where debug is preferred over release
- otherwise via normal search path

Configuration:
How to use the test case:
----------------------------------------------
SVNWORKDIR
should point to the Thrift working copy root

MY_THRIFT_FILES
can be set to point to a folder with more thrift IDL files.
If you don't have any such files, just leave the setting blank.
- run the POSH script
- if any error messages occur, that's a bad sign
- there may be known but unfixed issues, these are listed accordingly

BIN
Local MSYS binary folder. Your THRIFT.EXE is installed here.

MINGW_BIN
Local MinGW bin folder. Contains DLL files required by THRIFT.EXE

DCC
Identifies the Delphi Command Line compiler (dcc32.exe)
To be configuired only, if the default is not suitable.

----------------------------------------------
*EOF*
*EOF*
177 changes: 0 additions & 177 deletions lib/delphi/test/codegen/run-Pascal-Codegen-Tests.bat.tmpl

This file was deleted.

Loading

0 comments on commit 803bdfd

Please sign in to comment.