Giter Site home page Giter Site logo

ghul-test's Introduction

ghūl language logo

repositories for the ghūl programming language, its compiler and supporting tools

CI/CD NuGet version (ghul) Release Release Date Issues License ghūl

compiler for the ghūl programming language

CI/CD Visual Studio Marketplace Release Release Date Issues License ghūl

a Visual Studio Code extension providing ghūl language support

CI/CD NuGet version (ghul.runtime) Release Release Date Issues License ghūl

low level dependencies required by all ghūl applications

CI/CD NuGet version (ghul.templates) Release Release Date Issues License ghūl

templates for the .NET new command which create new ghūl console application and class library projects

CI/CD Release Release Date Issues License ghūl

a template for creating a new ghūl project repository on GitHub

CI/CD NuGet version (ghul.test) Release Release Date Issues License ghūl

a snapshot based integration testing framework used by the ghūl compiler project

CI/CD Issues License ghūl

ghūl programming language examples

Issues License

ghūl ASP.NET web API example

Issues License

ghūl programming language website

ghul-test's People

Contributors

degory avatar dependabot[bot] avatar

Stargazers

 avatar

ghul-test's Issues

Tests can fail if ghul.runtime version differs from runtime used by the compiler under test

Because the compiler being tested is not being run by MSBuild it doesn't get passed reference assemblies based on NuGet package and SDK dependencies. In particular the reference to the ghūl runtime assembly is bodged by symbolically linking to the runtime the ghul-test application was built with. This works provided the compiler has also been built with the same runtime version, but if not that it can cause some tests to wrongly fail due to being unable to load types from the runtime.

Workaround is to update the runtime for ghul-test immediately before updating the runtime to the same version for the compiler

Lazy static initialize of _collate_environment is not thread safe

if !_collate_environment? then

This lazy static initialization is not thread safe and could be responsible for spurious test failures (if the environment was used by another worker thread before being fully initialized then diff and sort child processes could return incorrect results).

It probably could be made safe with a combination of volatile intrinsics and System.Threading.Monitor but there's no benefit really - it can simply be initialized ahead of time before any worker threads are started.

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.