From f8f72aadba1a60b43b3bf3ecfc860f134b6cfd39 Mon Sep 17 00:00:00 2001 From: Alice Boucher <160623740+aliceb-nv@users.noreply.github.com> Date: Tue, 10 Jun 2025 11:08:41 +0200 Subject: [PATCH] Fix test commands in CONTRIBUTING.md Commands to fetch datasets were instructed to be run in the wrong working directory. --- CONTRIBUTING.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 12e8efa336..2d854dc656 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -164,8 +164,8 @@ To run the C++ tests, run ```bash cd $CUOPT_HOME/datasets && get_test_data.sh -cd $CUOPT_HOME/datasets/linear_programming && download_pdlp_test_dataset.sh -cd $CUOPT_HOME/datasets/mip && download_miplib_test_dataset.sh +cd $CUOPT_HOME && datasets/linear_programming/download_pdlp_test_dataset.sh +datasets/mip/download_miplib_test_dataset.sh export RAPIDS_DATASET_ROOT_DIR=$CUOPT_HOME/datasets/ ctest --test-dir ${CUOPT_HOME}/cpp/build # libcuopt ``` @@ -176,8 +176,8 @@ To run python tests, run ```bash cd $CUOPT_HOME/datasets && get_test_data.sh -cd $CUOPT_HOME/datasets/linear_programming && download_pdlp_test_dataset.sh -cd $CUOPT_HOME/datasets/mip && download_miplib_test_dataset.sh +cd $CUOPT_HOME && datasets/linear_programming/download_pdlp_test_dataset.sh +datasets/mip/download_miplib_test_dataset.sh export RAPIDS_DATASET_ROOT_DIR=$CUOPT_HOME/datasets/ cd $CUOPT_HOME/python pytest -v ${CUOPT_HOME}/python/cuopt/cuopt/tests