Commit daaf227d authored by Andreas Zwinkau's avatar Andreas Zwinkau
Browse files

Include test date

parent fdb09d68
......@@ -4,6 +4,7 @@ import platform
import optparse # TODO argparse from python 2.7 on
import subprocess
import resource
from datetime import datetime
SCRIPT_VERSION="0.1"
(KERNEL,HOSTNAME,KERNEL_VERSION,VERSION,ARCH,PROCESSOR) = platform.uname()
......@@ -216,6 +217,7 @@ def generate_spec_config(options):
cpuinfo = get_cpu_info()
meminfo = get_mem_info()
contents.append("iterations = %d" % options.iterations)
contents.append("test_date = %s" % datetime.now())
contents.append("")
contents.append("sw_os = %s %s %s" % (LINUX_NAME, LINUX_VERSION, LINUX_CODENAME))
contents.append("sw_compiler1 = %s" % get_compiler_version(options.c_compiler))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment