Skip to content

Commit

Permalink
use new test tarball in s3 when running C++ unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ChuckHastings committed Aug 29, 2024
1 parent 310ec3a commit 0a5eba1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
7 changes: 3 additions & 4 deletions ci/test_cpp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,9 @@ nvidia-smi

# RAPIDS_DATASET_ROOT_DIR is used by test scripts
export RAPIDS_DATASET_ROOT_DIR="$(realpath datasets)"

echo "DEBUGGING, ${RAPIDS_DATASET_ROOT_DIR}"
ls -l $RAPIDS_DATASET_ROOT_DIR
echo "END DEBUGGING"
pushd "${RAPIDS_DATASET_ROOT_DIR}"
./get_test_data.sh --cpp_ci_subset
popd

export GTEST_OUTPUT=xml:${RAPIDS_TESTS_DIR}/

Expand Down
8 changes: 8 additions & 0 deletions datasets/get_test_data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ cd "$( cd "$( dirname "$(realpath -m "${BASH_SOURCE[0]}")" )" && pwd )";
#
# FIXME: some test data needs to be extracted to "benchmarks", which is
# confusing now that there's dedicated datasets for benchmarks.
CPP_CI_DATASET_DATA="
# ~10s download
https://data.rapids.ai/cugraph/test/cpp_ci_datasets.tgz
test
"

BASE_DATASET_DATA="
# ~22s download
https://data.rapids.ai/cugraph/test/datasets.tgz
Expand Down Expand Up @@ -89,6 +95,8 @@ if hasArg "--benchmark"; then
DATASET_DATA="${BENCHMARK_DATASET_DATA}"
elif hasArg "--subset"; then
DATASET_DATA="${BASE_DATASET_DATA}"
elif hasArg "--cpp_ci_subset"; then
DATASET_DATA="${CPP_CI_DATASET_DATA}"
elif hasArg "--self_loops"; then
DATASET_DATA="${SELF_LOOPS_DATASET_DATA}"
# Do not include benchmark datasets by default - too big
Expand Down

0 comments on commit 0a5eba1

Please sign in to comment.