Git Product home page Git Product logo

Comments (2)

pbos avatar pbos commented on July 27, 2024

No idea, my Python debugging skills are really weak. For posterity, does it happen all the time or intermittently?

from gtest-parallel.

weidonglian avatar weidonglian commented on July 27, 2024

The repeat is stable. I have a google test executable that contains 50 tests.

  1. If I run them directly without using gtest_parallel, then it works like a charm.
  2. Five of them in one suite will hang if I run in gtest_parallel, even I run them sequentially using gtest_parallel. The other 45 tests just work fine with gtest_parallel. This is ubuntu.
  3. All tests work well with gtest_parallel on MacOsx and Windows.

The only problem is to run five of those 50 tests on Ubuntu with gtest_parallel no matter sequentially or not. I found a workaround by accident. I create a shell script

#!/bin/bash
./distr/syb-test "$@"

instead of calling ./distr/syb-test, I call this bash script. Magically, everything works well like a charm.
I suspect it could be something wrong with Linux process signal (SIGILL, SIGABRT, SIGTERM, etc..) though I do not do anything in my google test.

This is really mysterious.

from gtest-parallel.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.