mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2025-01-08 20:33:40 +01:00
Moved the Shermann-Morrison tests out of org-mode (#53)
This commit is contained in:
parent
dc814dd34e
commit
eb5bbdd146
@ -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);
|
||||
|
@ -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")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user