mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-09-25 16:29:53 +00:00

When testing ingest tests, one often wants to keep the .json output or generated metrics files around for inspection after the fact. This updates the bash condition to actually honor the comment that mentions # export UNSTRUCTURED_CLEANUP_DEV_FIXTURES=1 ** Test Instructions ** Run: export UNSTRUCTURED_CLEANUP_DEV_FIXTURES=1 ./test_unstructured_ingest/src/s3.sh ./test_unstructured_ingest/evaluation-metrics.sh text-extraction and witness test directories/files do not get cleaned up. E.g., `test_unstructured_ingest/metrics-tmp/`. One can also add a `set -x` at the top of test_unstructured_ingest/cleanup.sh to see what is getting skipped (it's a lot!).