mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-08-18 03:11:44 +02: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;
|
const double tolerance = 1e-3;
|
||||||
double res[441];
|
double res[441];
|
||||||
|
|
||||||
#include "sm_tests.h"
|
#include "sm_test.h"
|
||||||
|
|
||||||
assert(Updates1 != NULL);
|
assert(Updates1 != NULL);
|
||||||
assert(Updates_index1 != NULL);
|
assert(Updates_index1 != NULL);
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
from glob import glob
|
from glob import glob
|
||||||
import os
|
import os
|
||||||
|
import subprocess
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
wd = os.getcwd()
|
wd = os.getcwd()
|
||||||
@ -247,9 +248,10 @@ def main():
|
|||||||
"" ]
|
"" ]
|
||||||
|
|
||||||
tmp = "EXTRA_DIST += "
|
tmp = "EXTRA_DIST += "
|
||||||
for dir in glob("share/qmckl/test_data/*"):
|
r = subprocess.check_output("git ls-tree --name-only -r HEAD".split())
|
||||||
for f in glob("%s/*"%(dir)):
|
for line in r.splitlines():
|
||||||
tmp += " \\\n "+f
|
if "share/qmckl/test_data/" in line:
|
||||||
|
tmp += " \\\n " + line
|
||||||
tmp += "\n"
|
tmp += "\n"
|
||||||
output += tmp.split("\n")
|
output += tmp.split("\n")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user