piecrust icon indicating copy to clipboard operation
piecrust copied to clipboard

Investigate failing 'cc_passthrough' test on macos

Open miloszm opened this issue 1 year ago • 1 comments

Summary

cc_passthrough test on macos gives validation error, it should pass. As a result, make test fails on macos for the current main Piecrust branch

Possible solution design or implementation

It is easy to temporarily fix the test by changing a string sent to method query_passthrough from query_value to query_va. Looks like all strings having length 8 or more, are causing the validation error, only strings up to length 7 pass. This happens only if function return value is a pair (String, Vec<u8>), if the string is returned alone, not in a pair, the problem does not occur, it also does not matter if a pair is (String, Vec<u8>) or (Vec<u8>, String).

Additional context

The problem does not occur on linux platforms.

miloszm avatar Feb 15 '24 09:02 miloszm