1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-07-18 17:03:43 +02:00

Moved the Shermann-Morrison tests out of org-mode (#53)

This commit is contained in:
Anthony Scemama 2021-11-25 15:52:37 +01:00 committed by GitHub
parent dc814dd34e
commit eb5bbdd146
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 4 deletions

View File

@ -220,7 +220,7 @@ const double breakdown = 1e-3;
const double tolerance = 1e-3;
double res[441];
#include "sm_tests.h"
#include "sm_test.h"
assert(Updates1 != NULL);
assert(Updates_index1 != NULL);

View File

@ -5,6 +5,7 @@
from __future__ import print_function
from glob import glob
import os
import subprocess
def main():
wd = os.getcwd()
@ -247,9 +248,10 @@ def main():
"" ]
tmp = "EXTRA_DIST += "
for dir in glob("share/qmckl/test_data/*"):
for f in glob("%s/*"%(dir)):
tmp += " \\\n "+f
r = subprocess.check_output("git ls-tree --name-only -r HEAD".split())
for line in r.splitlines():
if "share/qmckl/test_data/" in line:
tmp += " \\\n " + line
tmp += "\n"
output += tmp.split("\n")