CIRCT 24.0.0git
Loading...
Searching...
No Matches
test_verilator.TestMakeFallback Class Reference

Public Member Functions

 test_fallback_uses_make (self, tmp_path)
 test_fallback_has_exe_flag (self, tmp_path)
 test_fallback_has_cflags (self, tmp_path)
 test_fallback_has_driver (self, tmp_path)
 test_fallback_has_ldflags_with_dpi (self, tmp_path)
 test_fallback_no_ldflags_without_dpi (self, tmp_path)
 test_fallback_trace_cflags_in_debug (self, tmp_path)
 test_fallback_make_command (self, tmp_path)
 test_fallback_exe_path (self, tmp_path)

Protected Member Functions

 _make_no_cmake (self, tmp_path, **kwargs)
 _hide_cmake (self)

Detailed Description

Tests for the make fallback when cmake/ninja are not available.

Definition at line 385 of file test_verilator.py.

Member Function Documentation

◆ _hide_cmake()

test_verilator.TestMakeFallback._hide_cmake ( self)
protected
Patch shutil.which so cmake and ninja appear absent.

Definition at line 394 of file test_verilator.py.

◆ _make_no_cmake()

test_verilator.TestMakeFallback._make_no_cmake ( self,
tmp_path,
** kwargs )
protected

◆ test_fallback_exe_path()

test_verilator.TestMakeFallback.test_fallback_exe_path ( self,
tmp_path )

Definition at line 457 of file test_verilator.py.

References _make_no_cmake().

◆ test_fallback_has_cflags()

test_verilator.TestMakeFallback.test_fallback_has_cflags ( self,
tmp_path )

Definition at line 417 of file test_verilator.py.

References _make_no_cmake().

◆ test_fallback_has_driver()

test_verilator.TestMakeFallback.test_fallback_has_driver ( self,
tmp_path )

Definition at line 424 of file test_verilator.py.

References _make_no_cmake().

◆ test_fallback_has_exe_flag()

test_verilator.TestMakeFallback.test_fallback_has_exe_flag ( self,
tmp_path )

Definition at line 412 of file test_verilator.py.

References _make_no_cmake().

◆ test_fallback_has_ldflags_with_dpi()

test_verilator.TestMakeFallback.test_fallback_has_ldflags_with_dpi ( self,
tmp_path )

Definition at line 429 of file test_verilator.py.

References _make_no_cmake().

◆ test_fallback_make_command()

test_verilator.TestMakeFallback.test_fallback_make_command ( self,
tmp_path )

Definition at line 447 of file test_verilator.py.

References _make_no_cmake().

◆ test_fallback_no_ldflags_without_dpi()

test_verilator.TestMakeFallback.test_fallback_no_ldflags_without_dpi ( self,
tmp_path )

Definition at line 436 of file test_verilator.py.

References _make_no_cmake().

◆ test_fallback_trace_cflags_in_debug()

test_verilator.TestMakeFallback.test_fallback_trace_cflags_in_debug ( self,
tmp_path )

Definition at line 441 of file test_verilator.py.

References _make_no_cmake().

◆ test_fallback_uses_make()

test_verilator.TestMakeFallback.test_fallback_uses_make ( self,
tmp_path )

Definition at line 406 of file test_verilator.py.

References _make_no_cmake().


The documentation for this class was generated from the following file: