Skip to content

Issue running in headless mode vs gui #19

@cjappl

Description

@cjappl

Having a hard time running the validator in headless mode. Every plugin I try fails with the following output:

bash-3.2$ ./pluginval.app/Contents/MacOS/pluginval --validate /Library/Audio/Plug-Ins/Components/FabFilter\ Pro-Q\ 2.component/
Random seed: 0x74393be
-----------------------------------------------------------------
Starting test: CommandLineTests / Merge environment variables...
All tests completed successfully
-----------------------------------------------------------------
Starting test: CommandLineTests / Command line defaults...
All tests completed successfully
-----------------------------------------------------------------
Starting test: CommandLineTests / Command line parser...
All tests completed successfully
-----------------------------------------------------------------
Starting test: CommandLineTests / Command line random...
All tests completed successfully
-----------------------------------------------------------------
Starting test: AllocatorInterceptorTests / Ensure separate allocators are used for threads...
All tests completed successfully
-----------------------------------------------------------------
Starting test: AllocatorInterceptorTests / Ensure all allocations pass...
All tests completed successfully
-----------------------------------------------------------------
Starting test: AllocatorInterceptorTests / Ensure all allocations fail on MessageThread...
All tests completed successfully
-----------------------------------------------------------------
Starting test: AllocatorInterceptorTests / Ensure allocation violation status is reset...
All tests completed successfully
-----------------------------------------------------------------
Starting test: AllocatorInterceptorTests / Ensure all allocations pass on MessageThread, fail on background thread...
All tests completed successfully
-----------------------------------------------------------------
Starting test: AllocatorInterceptorTests / Ensure array allocations are caught...
!!! Test 3 failed
!!! Test 4 failed: Expected value greater than: 0, Actual value: 0

FAILED!!  2 tests failed, out of a total of 4

-----------------------------------------------------------------
Starting test: AllocatorInterceptorTests / Ensure allocations are thrown...
All tests completed successfully
pluginval v0.2.3 - JUCE v5.4.3
Started validating: /Library/Audio/Plug-Ins/Components/FabFilter Pro-Q 2.component/
Random seed: 0x751ad42
Validation started: 22 Jul 2019 9:48:26am

Strictness level: 5
-----------------------------------------------------------------
Starting test: pluginval / Scan for known types: /Library/Audio/Plug-Ins/Components/FabFilter Pro-Q 2.component/...
Num types found: 0
!!! Test 1 failed: No types found
FAILED!!  1 test failed, out of a total of 1

Finished validating: /Library/Audio/Plug-Ins/Components/FabFilter Pro-Q 2.component/
*** FAILED: 1 TESTS
*** FAILED: 1 TESTS`

This is with the invocation:

./pluginval.app/Contents/MacOS/pluginval --validate /Library/Audio/Plug-Ins/Components/FabFilter\ Pro-Q\ 2.component/

This plugin validates perfectly using the gui, output below:

pluginval v0.2.3 - JUCE v5.4.3
Started validating: AudioUnit-FF Pro-Q 2-95550150-61453d50
Random seed: 0x4305123
Validation started: 22 Jul 2019 9:49:46am

Strictness level: 5

Testing plugin: AudioUnit-FF Pro-Q 2-95550150-61453d50
FabFilter: FF Pro-Q 2 v2.1.2
-----------------------------------------------------------------
Starting test: pluginval / Open plugin (cold)...

Time taken to open plugin (cold): 180 ms
All tests completed successfully
-----------------------------------------------------------------
Starting test: pluginval / Open plugin (warm)...

Time taken to open plugin (warm): 11 ms
Running tests 1 times
All tests completed successfully
-----------------------------------------------------------------
Starting test: pluginval / Plugin info...

Plugin name: FF Pro-Q 2
Alternative names: FF Pro-Q 2
SupportsDoublePrecision: no
Reported latency: 0
Reported taillength: 0.18576

Time taken to run test: 0
All tests completed successfully
-----------------------------------------------------------------
Starting test: pluginval / Editor...

Time taken to open editor (cold): 308 ms
Time taken to open editor (warm): 289 ms

Time taken to run test: 599 ms
All tests completed successfully
-----------------------------------------------------------------
Starting test: pluginval / Open editor whilst processing...

Time taken to run test: 294 ms
All tests completed successfully
-----------------------------------------------------------------
Starting test: pluginval / Audio processing...
Testing with sample rate [44100] and block size [64]
Testing with sample rate [44100] and block size [128]
Testing with sample rate [44100] and block size [256]
Testing with sample rate [44100] and block size [512]
Testing with sample rate [44100] and block size [1024]
Testing with sample rate [48000] and block size [64]
Testing with sample rate [48000] and block size [128]
Testing with sample rate [48000] and block size [256]
Testing with sample rate [48000] and block size [512]
Testing with sample rate [48000] and block size [1024]
Testing with sample rate [96000] and block size [64]
Testing with sample rate [96000] and block size [128]
Testing with sample rate [96000] and block size [256]
Testing with sample rate [96000] and block size [512]
Testing with sample rate [96000] and block size [1024]

Time taken to run test: 2 ms
All tests completed successfully
-----------------------------------------------------------------
Starting test: pluginval / Plugin state...

Time taken to run test: 0
All tests completed successfully
-----------------------------------------------------------------
Starting test: pluginval / Automation...
Testing with sample rate [44100] and block size [64] and sub-block size [32]
Testing with sample rate [44100] and block size [128] and sub-block size [32]
Testing with sample rate [44100] and block size [256] and sub-block size [32]
Testing with sample rate [44100] and block size [512] and sub-block size [32]
Testing with sample rate [44100] and block size [1024] and sub-block size [32]
Testing with sample rate [48000] and block size [64] and sub-block size [32]
Testing with sample rate [48000] and block size [128] and sub-block size [32]
Testing with sample rate [48000] and block size [256] and sub-block size [32]
Testing with sample rate [48000] and block size [512] and sub-block size [32]
Testing with sample rate [48000] and block size [1024] and sub-block size [32]
Testing with sample rate [96000] and block size [64] and sub-block size [32]
Testing with sample rate [96000] and block size [128] and sub-block size [32]
Testing with sample rate [96000] and block size [256] and sub-block size [32]
Testing with sample rate [96000] and block size [512] and sub-block size [32]
Testing with sample rate [96000] and block size [1024] and sub-block size [32]

Time taken to run test: 30 ms
All tests completed successfully
-----------------------------------------------------------------
Starting test: pluginval / Editor Automation...

Time taken to run test: 1 sec
All tests completed successfully
-----------------------------------------------------------------
Starting test: pluginval / Automatable Parameters...

Time taken to run test: 4 ms
All tests completed successfully
-----------------------------------------------------------------
Starting test: pluginval / Basic bus...
All tests completed successfully
-----------------------------------------------------------------
Starting test: pluginval / Listing available buses...
Inputs:
	Named layouts: Mono, Stereo, Mono, Stereo
	Discrete layouts: Discrete #1, Discrete #2, Discrete #1, Discrete #2
Outputs:
	Named layouts: Mono, Stereo
	Discrete layouts: Discrete #1, Discrete #2
Main bus num input channels: 2
Main bus num output channels: 2
All tests completed successfully
-----------------------------------------------------------------
Starting test: pluginval / Enabling all buses...
All tests completed successfully
-----------------------------------------------------------------
Starting test: pluginval / Disabling non-main busses...
!!! WARNING: Disabling non-main buses failed
All tests completed successfully
-----------------------------------------------------------------
Starting test: pluginval / Restoring default layout...
Main bus num input channels: 2
Main bus num output channels: 2

Time taken to run test: 264 ms

Time taken to run all tests: 3 secs
All tests completed successfully

Finished validating: AudioUnit-FF Pro-Q 2-95550150-61453d50
ALL TESTS PASSED

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions