aktuelle OMniflo Export Liste als Referenz für den Test eingestellt
This commit is contained in:
@@ -74,7 +74,8 @@
|
||||
ergebnis best-winkel L_GF L_VF
|
||||
y-offset y-abstand idx
|
||||
anz-gebaut anz-nicht-gebaut results-list
|
||||
startpunkt vf-nummer hoehe-von hoehe-bis lastEnt)
|
||||
startpunkt vf-nummer hoehe-von hoehe-bis lastEnt
|
||||
tests-out-dir old-dxfm-results)
|
||||
|
||||
;; Bibliothek initialisieren (laedt Block-Library und extrahiert Masse)
|
||||
(if (not *lib-initialized*)
|
||||
@@ -200,6 +201,21 @@
|
||||
;; Ergebnisse in globaler Variable speichern
|
||||
(setq *foerderer-test-results* (reverse results-list))
|
||||
|
||||
;; CSV- und Sivas-Export nach tests/output/
|
||||
(setq tests-out-dir (strcat (getenv "DXFMAKRO") "/tests/output"))
|
||||
(vl-mkdir tests-out-dir)
|
||||
(setq old-dxfm-results (getenv "DXFM_RESULTS"))
|
||||
(setenv "DXFM_RESULTS" tests-out-dir)
|
||||
|
||||
(princ "\n================================================================")
|
||||
(princ "\n[TEST_FOERDERER] CSV-Export -> foerderer_export.csv")
|
||||
(csv:run-export "FOERDERER_CSV" "export_csv.py" "foerderer_export.csv")
|
||||
|
||||
(princ "\n[TEST_FOERDERER] Sivas-Export -> foerderer_sivas.csv")
|
||||
(csv:run-export "FOERDERER_SIVAS" "export_sivas.py" "foerderer_sivas.csv")
|
||||
|
||||
(setenv "DXFM_RESULTS" (if old-dxfm-results old-dxfm-results ""))
|
||||
|
||||
(ssg-end)
|
||||
(princ "\n================================================================")
|
||||
(princ "\n TEST_FOERDERER abgeschlossen.")
|
||||
|
||||
Reference in New Issue
Block a user