mirror of
https://github.com/nasa/fpp.git
synced 2025-12-15 12:58:25 -06:00
Revise fpp-depend tests
Conform to changes in tool
This commit is contained in:
parent
7567a68299
commit
d25a91fa7f
@ -1,3 +0,0 @@
|
||||
[ local path prefix ]/compiler/tools/fpp-depend/test/included1.fppi
|
||||
[ local path prefix ]/compiler/tools/fpp-depend/test/included2.fppi
|
||||
[ local path prefix ]/compiler/tools/fpp-depend/test/included3.fppi
|
||||
3
compiler/tools/fpp-depend/test/include_output.ref.txt
Normal file
3
compiler/tools/fpp-depend/test/include_output.ref.txt
Normal file
@ -0,0 +1,3 @@
|
||||
[ local path prefix ]/compiler/tools/fpp-depend/test/included1.fppi
|
||||
[ local path prefix ]/compiler/tools/fpp-depend/test/included2.fppi
|
||||
[ local path prefix ]/compiler/tools/fpp-depend/test/included3.fppi
|
||||
@ -1,2 +1 @@
|
||||
[ local path prefix ]/compiler/tools/fpp-depend/test/locate_constant_include_3.fppi
|
||||
[ local path prefix ]/compiler/tools/fpp-depend/test/locate_constant_include_2.fppi
|
||||
|
||||
@ -0,0 +1 @@
|
||||
[ local path prefix ]/compiler/tools/fpp-depend/test/locate_constant_include_2.fppi
|
||||
@ -40,12 +40,16 @@ done > default-tests.sh
|
||||
# Custom tests
|
||||
include()
|
||||
{
|
||||
run_test -i include
|
||||
run_test '-i tmp.out.txt' include
|
||||
remove_path_prefix < tmp.out.txt > include_output.out.txt
|
||||
compare include_output
|
||||
}
|
||||
|
||||
included_dep_i()
|
||||
{
|
||||
run_test -i included_dep included_dep_i
|
||||
run_test '-i tmp.out.txt' included_dep included_dep_i
|
||||
remove_path_prefix < tmp.out.txt > included_dep_i_output.out.txt
|
||||
compare included_dep_i_output
|
||||
}
|
||||
|
||||
locate_constant_include_no_i()
|
||||
@ -55,7 +59,9 @@ locate_constant_include_no_i()
|
||||
|
||||
locate_constant_include_i()
|
||||
{
|
||||
run_test -i locate_constant_include_1 locate_constant_include_i
|
||||
run_test '-i tmp.out.txt' locate_constant_include_1 locate_constant_include_i
|
||||
remove_path_prefix < tmp.out.txt > locate_constant_include_i_output.out.txt
|
||||
compare locate_constant_include_i_output
|
||||
}
|
||||
|
||||
missing()
|
||||
|
||||
@ -1,3 +1,8 @@
|
||||
#tests="
|
||||
#include
|
||||
#included_dep_i
|
||||
#locate_constant_include_i
|
||||
#"
|
||||
tests="
|
||||
def_array
|
||||
def_component_instance
|
||||
@ -36,4 +41,3 @@ spec_port_instance
|
||||
spec_tlm_channel
|
||||
spec_top_import
|
||||
"
|
||||
|
||||
|
||||
@ -37,15 +37,18 @@ done > default-update-ref.sh
|
||||
|
||||
# Custom update ref
|
||||
include() {
|
||||
update -i include
|
||||
update '-i tmp.out.txt' include
|
||||
remove_path_prefix < tmp.out.txt > include_output.ref.txt
|
||||
}
|
||||
|
||||
included_dep_i() {
|
||||
update -i included_dep included_dep_i
|
||||
update '-i tmp.out.txt' included_dep included_dep_i
|
||||
remove_path_prefix < tmp.out.txt > included_dep_i_output.ref.txt
|
||||
}
|
||||
|
||||
locate_constant_include_i() {
|
||||
update -i locate_constant_include_1 locate_constant_include_i
|
||||
update '-i tmp.out.txt' locate_constant_include_1 locate_constant_include_i
|
||||
remove_path_prefix < tmp.out.txt > locate_constant_include_i_output.ref.txt
|
||||
}
|
||||
|
||||
locate_constant_include_no_i()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user