fm-weck 1.4.3__py3-none-any.whl → 1.4.4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
fm_weck/__init__.py CHANGED
@@ -8,4 +8,4 @@
8
8
  from .config import Config # noqa: F401
9
9
  from .image_mgr import ImageMgr # noqa: F401
10
10
 
11
- __version__ = "1.4.3"
11
+ __version__ = "1.4.4"
fm_weck/cli.py CHANGED
@@ -479,7 +479,7 @@ def cli(raw_args: list[str]):
479
479
  return help_callback()
480
480
 
481
481
  try:
482
- args.main(args)
482
+ return args.main(args)
483
483
  except NoImageError:
484
484
  log_no_image_error(args.TOOL, Config()._config_source)
485
485
  return 1
fm_weck/engine.py CHANGED
@@ -330,7 +330,7 @@ class Engine(ABC):
330
330
  if self.dry_run:
331
331
  print("Command to be executed:")
332
332
  print(" ".join(map(str, command)))
333
- return
333
+ return 0
334
334
 
335
335
  return_code = self._run_process(command)
336
336
  self._move_output()
fm_weck/serve.py CHANGED
@@ -37,6 +37,9 @@ def check_cache_entry(shelve_space: Path, checksum: str, config: Config) -> bool
37
37
  except dbm.error:
38
38
  logger.debug("Checksum file does not exist")
39
39
  return False
40
+ except KeyError:
41
+ logger.debug("Checksum does not exist")
42
+ return False
40
43
 
41
44
 
42
45
  def update_checksum(shelve_space: Path, checksum: str, config: Config):
@@ -64,7 +67,7 @@ def setup_fm_tool(
64
67
  shelve_space = configuration.get_shelve_space_for(fm_data)
65
68
  logger.debug("Using shelve space %s", shelve_space)
66
69
 
67
- if shelve_space.exists() and shelve_space.is_dir():
70
+ if (not skip_download) and shelve_space.exists() and shelve_space.is_dir():
68
71
  logger.debug("Shelve space already exists, testing checksum")
69
72
  checksum = fm_data.archive_location.checksum()
70
73
  skip_download = check_cache_entry(shelve_space, checksum, configuration)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: fm-weck
3
- Version: 1.4.3
3
+ Version: 1.4.4
4
4
  Author-email: Henrik Wachowitz <henrik.wachowitz@ifi.lmu.de>
5
5
  Maintainer-email: Henrik Wachowitz <henrik.wachowitz@ifi.lmu.de>
6
6
  Classifier: Development Status :: 4 - Beta
@@ -1,13 +1,13 @@
1
- fm_weck/__init__.py,sha256=3wdG_lifPse1EUze3MIQ31WI3UlKCgtrTxsGfmZSpqw,351
1
+ fm_weck/__init__.py,sha256=loNOoCYnS0B_DHqKOa4hUWFHXNpB2gCQSRQfMyr-MWk,351
2
2
  fm_weck/__main__.py,sha256=EH-5hwqGqbt71BJpd4iJK9IbS1KBBdfjGjtG3tqfSI8,367
3
- fm_weck/cli.py,sha256=wL5VDh-nZWJD5EFKObuMKZBBabqeclijuR0PtP52G4I,13618
3
+ fm_weck/cli.py,sha256=3LP3EIb1yx9InqhSlAdUOY7Pcbsy3HEikSMdiEaAp80,13625
4
4
  fm_weck/config.py,sha256=AAp5qPZfx2Gh-43jySzfHzHOEmbduHJalA7guV9SIzI,7340
5
- fm_weck/engine.py,sha256=jeHJoPHxtPIfTSxxRQSC1ldo5GcnC9CysBv3fksdNk8,13894
5
+ fm_weck/engine.py,sha256=tA1ZvuKeE6sbsFvsbhTTV-9oqCKNzqjikndFfua4Bh4,13896
6
6
  fm_weck/exceptions.py,sha256=D_3xPdWkmsY4Dn7k4oGHEAZc2Ner2p3sw2t8lhEHrGI,281
7
7
  fm_weck/image_mgr.py,sha256=f1RlmQPBiMrsqPyH1Rtfb8WMp2YBq-7z-Rto_kCfS7U,1861
8
8
  fm_weck/runexec_mode.py,sha256=3-C-Leblrku4fo0pFPHelWiy7_drUAa8GxwNA17HINY,1785
9
9
  fm_weck/runexec_util.py,sha256=YBvVIPpmEousZVxbZ5NS8jzpKPLyws31kIFE2z3Ki2E,1370
10
- fm_weck/serve.py,sha256=ZJzbH9BkEzGN5BOYUnI4csYTaB8NN2A2ATeO9y9LfSQ,5223
10
+ fm_weck/serve.py,sha256=q5glWapvBQQVc_4HS8MJBhx-987-lOvnamd_z8FU3PY,5337
11
11
  fm_weck/resources/BenchExec-3.25-py3-none-any.whl,sha256=87QrHJum5CHhpTrQlQpamHMnlkMzJE5lM4SlJg-Y9jk,718841
12
12
  fm_weck/resources/BenchExec-3.25-py3-none-any.whl.license,sha256=Nq2Mwgn_pyr6ZZrTT095QPtFP3hr15ZeIRIaY0B7eC8,201
13
13
  fm_weck/resources/Containerfile,sha256=MltxP1of9klsQFNR8WyngRTJrPwxQTF4C9ennRxVqSo,391
@@ -140,7 +140,7 @@ fm_weck/resources/fm_tools/wit4java.yml,sha256=fsbJLb0utlst8d51gvFk3FL2WoCwz_HFf
140
140
  fm_weck/resources/fm_tools/witch.yml,sha256=kMIsYl7rQLTJzEiMDODPzFOloNXetzx5WSYbymOMV94,1591
141
141
  fm_weck/resources/fm_tools/witnesslint.yml,sha256=qWnjwCtIIMaLnsNwOOkMcliXGSHCPssQVHxyEm4kQtE,5918
142
142
  fm_weck/resources/fm_tools/witnessmap.yml,sha256=iDnbEvPkbskfX3SYSbi7WjIKa4Q0B7LMCrawdXO7cNs,1113
143
- fm_weck-1.4.3.dist-info/METADATA,sha256=qhC2r4tIhy18mHR0Tni639TW1uVn7VZPSKW2VOej9lY,2771
144
- fm_weck-1.4.3.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
145
- fm_weck-1.4.3.dist-info/entry_points.txt,sha256=toWpKCSY1u593MPnI_xW5gnwlnkerP4AvmPQ1s2nPgY,50
146
- fm_weck-1.4.3.dist-info/RECORD,,
143
+ fm_weck-1.4.4.dist-info/METADATA,sha256=8ty3_Md84tBPAHCJiSqrs6SPFpy1XScxBZLR0Ak0Ug8,2771
144
+ fm_weck-1.4.4.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
145
+ fm_weck-1.4.4.dist-info/entry_points.txt,sha256=toWpKCSY1u593MPnI_xW5gnwlnkerP4AvmPQ1s2nPgY,50
146
+ fm_weck-1.4.4.dist-info/RECORD,,