Skip to content

Commit

Permalink
fix delta debugging test case
Browse files Browse the repository at this point in the history
  • Loading branch information
Perun CaseStudies authored and Perun CaseStudies committed Jul 20, 2024
1 parent ac12e9f commit fc5f2a7
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions tests/test_delta_debugging.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

# Standard Imports
from pathlib import Path
import subprocess

# Third-Party Imports
import pytest
from click.testing import CliRunner
Expand All @@ -15,10 +17,14 @@ def test_delta_debugging_correct():
"""Runs basic tests for delta debugging CLI"""
runner = CliRunner()
examples = Path(__file__).parent / "sources" / "delta_debugging_examples"

num_workload = examples / "samples" / "txt" / "simple.txt"

delta_debugging_test = examples / "dd-minimal-test" / "dd-minimal"
# 08. Testing for delta debugging minimal test
process = subprocess.Popen(["make", "-C", examples / "dd-minimal"])
process.communicate()
process.wait()

delta_debugging_test = examples / "dd-minimal" / "dd-minimal"
result = runner.invoke(
cli.deltadebugging,
[
Expand Down

0 comments on commit fc5f2a7

Please sign in to comment.