vipm-io / vi-tester

VI Tester for LabVIEW
BSD 3-Clause "New" or "Revised" License
28 stars 26 forks source link

VI Tester API - Infinite Loop finding Unit Test Classes #46

Open samsharp99 opened 4 years ago

samsharp99 commented 4 years ago

I am working on incorporating VI Tester Unit Tests into our build server using Jenkins.

The VI Tester is getting stuck in an infinite loop trying to find the Unit Test Classes in the project in "VITesterUtilities.lvlib:Get Class Inheritance from Class Path_jki_vi_tester.vi"

In this particular case, it is trying to check the drjdpowell SQLite library and is stuck alternating between the Connection.lvclass and the SQL Statement.lvclass classes in the library.

Reproduction steps:

  1. Install the drjdpowell SQLite library
  2. Point the VITesterUtilities.lvlib:Get Class Inheritance from Class Path__jki_vi_tester.vi to the SQLite Statement.lvclass
  3. Run the VI - it will be stuck in an infinite loop switching between SQL Statemenet.lvclass and Connection.lvclass

image

JamesMc86 commented 4 years ago

Just seen this issue as well on a project - when can this get pulled in @jimkring ?

samsharp99 commented 3 years ago

@jimkring I noticed that this and my other issue #48 weren't addressed in the new release - is there a particular reason for that? When can this be addressed as it stops us from being able to upgrade to the new version without patching it locally? I already provided a solution in my pull request.