Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates to verification code based on actual usage. #53

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

dvalinrh
Copy link
Contributor

@dvalinrh dvalinrh commented Feb 19, 2025

Description

The verification code needs to figure out the proper path to the file is
There are two options

  1. absolute path, if it starts with a "/" nothing is done.
  2. If an absolute path is not provide, we assume a relative path based on the git repo. We drop off the last text after the / in the path of the executable, and then append the relative path.
  3. Remove check for filenames that are different, only check the csv file.

Before/After Comparison

Before we would need to provide the absolute path at all times. This will cause issues with running the verification tests from zathras.

After:
We now just have to point to the test results from where it is, relative to the git repo

Clerical Stuff

This closes #52

Relates to JIRA: RPOPC-345

@dvalinrh dvalinrh requested a review from a team February 19, 2025 18:14
@dvalinrh dvalinrh changed the title Set verification path accordingly. Updates to verification code based on actual usage. Feb 21, 2025
diff $verify_res_before $verify_res_after
base_res_file=`ls $vdir/$test_base_results/*csv`
if [[ $? -ne 0 ]]; then
echo "Error, did not find a csv file in $vdir/$test_base_results"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error out condition required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Verification file path update.
1 participant