Skip to content

Commit

Permalink
prediff scripts for revcomp futures (#22713)
Browse files Browse the repository at this point in the history
Adds a prediff script to 
- studies/shootout/reverse-complement/bradc/revcomp-blc-begin-const-ref.verify
- studies/shootout/reverse-complement/bradc/revcomp-blc-copyPropBug

that removes version specific information from the output. This should
correct some failures to match against `.bad` files.

Affected tests passing:
- [x] quickstart config (mac)
- [x] quickstart config (linux)
- [x] CHPL_COMM=gasnet (linux)

[ trivial -  not reviewed ]
  • Loading branch information
jeremiah-corrado authored Jul 11, 2023
2 parents 6afdd7c + 7df2af2 commit 44b5fc8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

sed -i '' -r "s/MAI-CHE-CKS-[0-9]+/MAI-CHE-CKS-nnnn/g" $2
sed -i '' -r "s/chpl version .*/chpl version mmmm/g" $2
perl -pi -e 'chomp if eof' $2
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

sed -i '' -r "s/OPT-COP-ION-[0-9]+/OPT-COP-ION-nnnn/g" $2
sed -i '' -r "s/chpl version .*/chpl version mmmm/g" $2
perl -pi -e 'chomp if eof' $2

0 comments on commit 44b5fc8

Please sign in to comment.