Hi I want to run a particular LIT test against several different nightly toolchains.
The command I used to generate and run a LIT test case:
../llvm-project/llvm/utils/lit/lit.py -sv /Users/viranchee/appleSwift/build/Ninja-RelWithDebInfoAssert/swift-macosx-arm64/test-macosx-arm64/AutoDiff/ --show-xfail --show-unsupported --filter differentiable_protocol_requirements.swift
This generates and runs a LIT build shell script which gets created at:
build/Ninja-RelWithDebInfoAssert/swift-macosx-arm64/test-macosx-arm64/AutoDiff/validation-test/Output/differentiable_protocol_requirements.swift.script
From that shell script, I was able to modify directories to a Nightly Toolchain: DYLD_LIBRARY_PATH, LIB_PATH, and the test runs fine
However, on replacing the build swiftc path to a toolchain's swiftc path, gives me error:
error: no such module 'StdlibUnittest'
error: no such module 'DifferentiationUnittest'
I have uploaded the LIT test script with modified path here: