INNER CODE UNIT · Python

mpos

CrypToolProject/CrypTool-2 · LibSource/mpfr/build.vs19/run_lib_tests.py:106

    mpos = lib_loc + li[k][1] + lib_name
    shutil.copy(gpos, tpos)
    shutil.copy(mpos, tpos)

  # list the *.exe files in the test directory
  exe_list = []
  try:
    l = os.listdir(tpos)
  except:
    print("Tests have not been built for this configuration")
    os._exit(-1)

  for f in l:
    x = os.path.splitext(f)
    if x[1] == '.exe':
      exe_list += [x[0]]
  if len(exe_list) == 0:
    print("No executable test files for this configuration")

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…