mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-06 01:24:10 +00:00
14 lines
257 B
Bash
Executable file
14 lines
257 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
run_subtest () {
|
|
local subtest=$1; shift
|
|
|
|
${CC:-gcc} -std=c++11 -O2 -o cxxrtl-test-${subtest} -I../../backends/cxxrtl/runtime test_${subtest}.cc -lstdc++
|
|
./cxxrtl-test-${subtest}
|
|
}
|
|
|
|
run_subtest value
|
|
run_subtest value_fuzz
|