GithubHelp home page GithubHelp logo

Comments (3)

Byron avatar Byron commented on August 30, 2024 1

Thanks a lot for reporting and the intense research - it helped me a lot to understand what's going on.

It's a bit sad to see that 9 tests fail when bluntly applying my preferred solution: setting MSYS=winsymlinks:nativestrict via gix-testtools, but I will read up on your findings there in the hopes this can be made to work after all and in a way that is at least somewhat maintainable.

Lastly, my feeling is that Git requires symlinks to work but might disable support (or otherwise prohibit them) for some Windows related tests. That's how I would do it anyway to be able to use the existing test-suite as is, and it's what I'd wish to accomplish for gitoxide as well. Those running the tests must allow symlinks or expect failure of some tests, something I find reasonable to expect on a developer machine.

from gitoxide.

EliahKagan avatar EliahKagan commented on August 30, 2024

Lastly, my feeling is that Git requires symlinks to work but might disable support (or otherwise prohibit them) for some Windows related tests. That's how I would do it anyway to be able to use the existing test-suite as is, and it's what I'd wish to accomplish for gitoxide as well. Those running the tests must allow symlinks or expect failure of some tests, something I find reasonable to expect on a developer machine.

That makes sense, given that the alternatives--at least those I am unaware of--would hamper clarity.

from gitoxide.

EliahKagan avatar EliahKagan commented on August 30, 2024

This issue was fixed by #1444.

To confirm this, note the absence of

gix-diff-tests::diff tree::changes::to_obtain_tree::many_different_states

in the updated list of failing tests in #1358.

Although that test was never listed there even before it was updated, that is because I opened this issue for the new failure rather than editing the list there. Since #1444, I have rerun all tests on all three major platforms including Windows. Although some tests continue to fail on Windows when GIX_TEST_IGNORE_ARCHIVES=1 is set, this many_different_states test does not fail on Windows or any other platforms tested, with or without GIX_TEST_IGNORE_ARCHIVES=1.

This is as suspected based on earlier runs in which I set MSYS=winsymlinks:nativestrict manually prior to #1444. Since #1444, that no longer has to be set manually to make many_different_states pass with GIX_TEST_IGNORE_ARCHIVES=1.

(The status of this issue is thus the same as #1443, but unfortunately it doesn't look like I can myself mark this specifically as closed by #1444.)

from gitoxide.

Related Issues (20)

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.