Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Mate Pek
    @matepek
    can you run with '[.],*' '--verbosity' 'high' '--list-tests' '--use-colour' 'no'?
    Kristian Duske
    @kduske
    one sec...
    Mate Pek
    @matepek
    (you have to escape *)
    like '[.],\*' '--verbosity' 'high' '--list-tests' '--use-colour' 'no'
    hm, maybe not. i take that back
    Kristian Duske
    @kduske
    yes, that works, too
    would you like to see the output?
    Mate Pek
    @matepek
    no
    what is your pwd?
    Kristian Duske
    @kduske
    same as absDirPath
    so, /home/kristian/Documents/Code/TrenchBroom/build/common/test
    Mate Pek
    @matepek
    try cd ../.. and run again
    Kristian Duske
    @kduske
    that gives a sigsegv
    Mate Pek
    @matepek
    what is your testMate.cpp.test.workingDirectory?
    Kristian Duske
    @kduske
    it's set to ${absDirpath}
    the executable crashes if I run the tests from the grandparent directory, but running it with the commandline you gave me previously still works
    I'm being dragged away from the computer by my kids :-/
    I'll keep this tab open and check in again when I can
    Thank you for your help so far!
    Mate Pek
    @matepek
    okie
    Kristian Duske
    @kduske
    And thank you for providing this extension, it's really great and I use it at work and on my open source project all the time.
    Mate Pek
    @matepek
    you are getting the same for ./common/test/common-test --help, right?
    Kristian Duske
    @kduske
    yeah, that works
    Mate Pek
    @matepek
    no sigegv?
    Kristian Duske
    @kduske
    nope
    I'll try to wrap the test executable in a shell script that pipes the output into a file, maybe that'll help
    Mate Pek
    @matepek
    I think your exec cannot find a dynamic linked library.
    you can try to debug it gdb ./common/test/common-test --list-tests
    Kristian Duske
    @kduske
    ok, so the wrapper confirms that it's a sigsev. I also dumped the environment, at least PWD is correct.
    PWD is absDirPath, so it's the parent directory of the test executable
    Mate Pek
    @matepek
    and no sigsegv from parent directory
    ./common-test --list-tests OK
    ./common/test/common-test --list-tests FAIL
    right?
    Kristian Duske
    @kduske
    no, both of them work
    I haven't been able to reproduce the sigsegv from the terminal with --list-tests at all.
    Mate Pek
    @matepek
    how about with '[.],*' '--verbosity' 'high' '--list-tests' '--use-colour' 'no'
    Kristian Duske
    @kduske
    one sec
    works from both directories, too
    I can crash the exe when I run it without parameters from the grandparent directory, but that's expected because it cannot find some test fixtures.
    I don't think that that's related to this.
    I'll build the exe with asan, maybe that'll give some useful info
    I'll try to dig into that stacktrace later on.
    Kristian Duske
    @kduske
    Ok, I don't have an exact diagnosis for this, but I'm sure that it doesn't have anything to do with your extension. I had installed VS Code from the snap store, and the stack trace above indicated that it was loading libraries from the snap image instead of those installed in the system.
    I have uninstalled the snap and installed a deb image instead, and now it works.
    Thanks for your help!
    Kristian Duske
    @kduske
    Hmm, maybe one thing that could be improved would be to dump the output of the failed executable in the log.
    D├ęcio Luiz Gazzoni Filho
    @dgazzoni
    Hi everyone. I just found out about matepek/vscode-catch2-test-adapter#207, and I'm not sure if it should have been fixed, but anyway, it's broken for me. I wonder if that's a regression or if it's expected.
    Stefan
    @AStefan93
    Hi guys, I'm trying to setup testmate on a corporate server and it seems to hang when it tries to parse files. Is this a good place to ask for help? :)
    Stefan
    @AStefan93
    Hi, I submitted an issue. I attached the log file. I hope you can point me in the right direction to debug this further. Thanks :). The issue is "Testmate seems to hang when searching for executables #271"