Skip to content
This repository was archived by the owner on Jun 16, 2025. It is now read-only.
This repository was archived by the owner on Jun 16, 2025. It is now read-only.

Need help with initial meson test #1453

Closed
@hyenias

Description

@hyenias

Description of problem:
After going through all the instructions I could find on the site, some test cases have either failed or been skipped. meson-logs/testlog-malloc.txt indicates that various programs along its path cannot be found.

Ksh version:
GNU/Linux x86_64 Ubuntu 18.04
2020.0.0-beta1-192-g0d76ee4b

How reproducible:
Run meson with --prefix ~/kshdev and meson test.

Steps to reproduce:

  1. From within $HOME directory
  • mkdir git
  • mkdir kshdev
  1. cd git
  2. git clone https://github.com/att/ast.git
  3. cd ast
  4. meson --prefix ~/kshdev build
  5. ninja -C build
  6. cd build
  7. meson test --setup=malloc
  • Full log written to .../git/ast/build/meson-logs/testlog-malloc.txt
  • This log file is full of test cases that cannot find programs along its path.

Actual results:
OK: 277
FAIL: 1
SKIP: 15
TIMEOUT: 0

123/293 API/ksh/ksh_debug FAIL 0.13 s

Within the testlog-malloc.txt file under a test case between the stderr section:
stderr:
xxx/git/ast/src/cmd/ksh93/tests/util/run_test.sh: line 219: mkfifo: not found
xxx/git/ast/src/cmd/ksh93/tests/util/run_test.sh: line 220: mkfifo: not found
xxx/git/ast/src/cmd/ksh93/tests/util/run_test.sh: line 239: mkdir: not found
xxx/git/ast/src/cmd/ksh93/tests/util/run_test.sh: line 240: mkdir: not found
xxx/git/ast/src/cmd/ksh93/tests/util/run_test.sh[464]: run_api: line 270: diff: not found
run_test[272]: Stderr for ksh_debug had unexpected differences:
xxx/git/ast/src/cmd/ksh93/tests/util/run_test.sh[464]: run_api: line 273: diff: not found

Expected results:
No previous experience to compare with, not sure. Overall, I would hope that all the possible tests would run and pass. All of the not found programs have been installed and exist along the PATH.

Additional info:
I am a new github user and new to this ksh repo. I believe that I have installed all of the required programs that were mentioned within the CONTRIBUTING.md and wiki section Building and Debugging (meson). I look forward to getting my development environment up and running so that I can contribute to this ksh project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions