Skip to content

Commit

Permalink
Better location for LD_DEBUG env var
Browse files Browse the repository at this point in the history
  • Loading branch information
rmunn committed Mar 14, 2024
1 parent 737b0fc commit 3f80dc2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ ENV DBVERSION=7000072
ENV DBVERSIONPATH=/usr/lib/lfmerge/7000072
ENV RUN_UNIT_TESTS=1
ENV NUNIT_VERSION_MAJOR=3
ENV LD_DEBUG=all
# ENV TEST_SPEC=LfMerge.Core.Tests.Actions.SynchronizeActionTests.SynchronizeAction_CustomReferenceAtomicField_DoesNotThrowExceptionDuringSync

FROM lfmerge-build-${DbVersion} AS lfmerge-build
Expand Down
1 change: 1 addition & 0 deletions docker/scripts/build-and-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ if [ -n "$RUN_UNIT_TESTS" -a "$RUN_UNIT_TESTS" -ne 0 ]; then
echo "Running unit tests"
# dotnet test defaults to killing test processes after 100ms, which is way too short
export VSTEST_TESTHOST_SHUTDOWN_TIMEOUT=30000 # 30 seconds, please, since some of our tests can run very long
export LD_DEBUG=all
# Treat TEST_SPEC enviornment variable as a "contains" operation
if [ -n "$TEST_SPEC" ]; then
dotnet test --no-restore -l:"console;verbosity=normal" -l:nunit -c Release --filter "FullyQualifiedName~${TEST_SPEC}"
Expand Down

0 comments on commit 3f80dc2

Please sign in to comment.