sci-mathematics/flintqs: fix the test suite.
authorMichael Orlitzky <mjo@gentoo.org>
Sat, 18 Apr 2020 11:38:03 +0000 (07:38 -0400)
committerMichael Orlitzky <mjo@gentoo.org>
Sat, 18 Apr 2020 11:38:03 +0000 (07:38 -0400)
I accidentally tested the installed version of QuadraticSieve
(which may not exist) instead of the one we just built. Thanks
to François Bissey who figured out what I did wrong.

Closes: https://bugs.gentoo.org/718006
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
sci-mathematics/flintqs/flintqs-1.0.ebuild

index 676e751c8bd8863b602f395bc8845bb80333d7e1..cf8353473ffaba1e197a576d2027436b3d501ed8 100644 (file)
@@ -28,7 +28,7 @@ src_test() {
        # The sed command deletes all lines up to the pattern match.
        #
        ACTUAL=$(echo 1000000000000000005490000000000000001989 | \
-                                QuadraticSieve | \
+                                "${S}"/src/QuadraticSieve | \
                                 sed '0,/FACTORS:/d' | \
                                 sort --numeric | \
                                 uniq |