Giter Club home page Giter Club logo

Comments (7)

dail8859 avatar dail8859 commented on July 21, 2024 1

Oh never mind. You are probably just linking the issue and not pointing it out to me specifically :)

from editorconfig-core-test.

cxw42 avatar cxw42 commented on July 21, 2024

Thanks for the report! Would you please attach or point us to your test code, so we can reproduce the problem? The set_tests_properties line sets the regex to check in the output. Much appreciated!

from editorconfig-core-test.

dail8859 avatar dail8859 commented on July 21, 2024

I do not have any easy shareable example currently but it should not be hard to verify with any of the other cores.

Shouldn't new_ec_cli_test accept parameters like the other new_xxx functions?

from editorconfig-core-test.

cxw42 avatar cxw42 commented on July 21, 2024

It does! cmake_parse_arguments is the function that extracts the args. CMake syntax is very strange.

What project are you working on? You have opened a number of issues recently, and we could better assist if we knew the big picture.

In the mean time, I am closing this issue in the absence of a test case.

from editorconfig-core-test.

dail8859 avatar dail8859 commented on July 21, 2024

CMake syntax is very strange.

Indeed it is!

What project are you working on?

I'm writing an editorconfig core for Qt5

in the absence of a test case.

I'm using Windows for this test...

  1. mkdir mytest
  2. cd mytest
  3. git clone https://github.com/editorconfig/editorconfig-core-test
  4. Create CMakeLists.txt with this text:
    cmake_minimum_required(VERSION 3.17)
    project(mytest NONE)
    enable_testing()
    set(EDITORCONFIG_CMD ${CMAKE_CURRENT_SOURCE_DIR}/test.bat )
    add_subdirectory(editorconfig-core-test)
    message( ${CMAKE_CURRENT_SOURCE_DIR} )
  5. Create test.bat with this text
    echo "nothing"
  6. cmake .
  7. ctest -C Release -R switch (no clue why I have to include the -C Release on my system but it complains if it is missing...the -R will just run the two version switch tests)
  8. The two tests incorrectly pass

from editorconfig-core-test.

cxw42 avatar cxw42 commented on July 21, 2024

editorconfig/editorconfig-qtcreator#3

from editorconfig-core-test.

dail8859 avatar dail8859 commented on July 21, 2024

Yep. Very aware of that issue. Even commented in it :)

from editorconfig-core-test.

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.