Skip to content

Commit

Permalink
Adfd ability to run autofonce-based tests out of standard source/buil…
Browse files Browse the repository at this point in the history
…d directories
  • Loading branch information
nberth committed Sep 19, 2023
1 parent 119635c commit fa20c40
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/output-tests/gnucobol.ml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
(* *)
(**************************************************************************)

open Ez_file.V1
open Autofonce_lib
open Autofonce_config
open Autofonce_core.Types
Expand Down Expand Up @@ -53,7 +54,9 @@ let make_n_enter_rundir () =

let _pconf, _tconf, testsuite =
let toml = Filename.concat srcdir ".autofonce" in
let project_config = Project_config.from_file toml in
let contents = EzFile.read_file toml in
let project_config =
Project_config.from_string ~computed:false ~file:toml contents in
Testsuite.read project_config (List.hd project_config.project_testsuites)

(* let init_test_filter () = *)
Expand Down

0 comments on commit fa20c40

Please sign in to comment.