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

How to run tests? Does not work with CMake, does not work with test_parser #35

Open
barracuda156 opened this issue May 13, 2023 · 0 comments

Comments

@barracuda156
Copy link

Trying to run tests from CMake runs nothing. Trying the binary, it also does nothing:

--->  Testing dparser
Executing:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_dparser/dparser/work/build" && /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_dparser/dparser/work/build/test_parser -vt 
Test DParser Version 1.30.4ab9d43046e5d22ffb365ec5f5184a7cfee09b30 Copyright (c) 2002-2013 John Plevyak
Usage: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_dparser/dparser/work/build/test_parser [flags|args]
  -l, --longest_match     toggle   false     Use Longest Match Rule for Tokens
  -T, --tokenizer         toggle   false     Tokenizer for START
  -C, --whitespace_states toggle   true      Compute Whitespace States
  -A, --all_states        toggle   false     Compute States For All NTERMs
  -b, --scanner_blocks    int      4         Scanner Blocks
  -p, --op_pri_from_rule  toggle   false     Set Operator Priority From Rule
  -r, --right_recurse_BNF toggle   false     Use Right Recursion For */+
  -S, --start_state       int      0         Start State
  -s, --save_parse_tree   toggle   true      Save Parse Tree
  -p, --partial_parses    toggle   false     Partial Parses
  -c, --compare_stacks    toggle   true      Compare Stacks
  -i, --commit_interval   int      100       Commit Interval
  -f, --fixup             toggle   true      Fixup Internal Productions
  -e, --fixup_ebnf        toggle   false     Fixup EBNF Productions
  -H, --noheight          toggle   false     Do not use Height Disambiguization
  -G, --nogreedy          toggle   false     Do not use Greedy Disambiguization
  -v, --verbose           incr     1         Verbose
  -t, --test              incr     1         Test
  -d, --debug             incr     0         Debug
  -h, --help                                 Help
Command failed:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_dparser/dparser/work/build" && /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_dparser/dparser/work/build/test_parser -vt 
Exit code: 1
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