Skip to content

Commit

Permalink
* disabled Reader_Waters_Test for 32-bit build
Browse files Browse the repository at this point in the history
  • Loading branch information
chambm committed Nov 22, 2022
1 parent a9e980b commit aa73107
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
14 changes: 12 additions & 2 deletions pwiz/data/vendor_readers/Waters/Jamfile.jam
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ rule vendor-api-requirements ( properties * )
[ project-exists $(API_PATH) ] &&
[ masslynxraw-dll-location $(API_PATH) : $(properties) ] &&
! [ without-binary-msdata $(properties) ] &&
! <vendor-api-support>off in $(properties)
! <vendor-api-support>off in $(properties) &&
! <address-model>32 in $(properties)
{
result += <source>Reader_Waters_Detail.cpp ;
}
Expand All @@ -65,7 +66,8 @@ rule vendor-api-usage-requirements ( properties * )
[ project-exists $(API_PATH) ] &&
[ masslynxraw-dll-location $(API_PATH) : $(properties) ] &&
! [ without-binary-msdata $(properties) ] &&
! <vendor-api-support>off in $(properties)
! <vendor-api-support>off in $(properties) &&
! <address-model>32 in $(properties)
{
result += <library>$(API_PATH)//pwiz_vendor_api_waters ;
result += <define>PWIZ_READER_WATERS ;
Expand All @@ -89,6 +91,10 @@ rule vendor-api-usage-requirements ( properties * )
{
echo "[$(READER_PATH)] Missing DLL: $(READER_NAME) can only identify files, not read them." ;
}
else if <address-model>32 in $(properties)
{
echo "[$(READER_PATH)] 32-bit build: $(READER_NAME) can only identify files, not read them." ;
}
}
return $(result) ;
}
Expand Down Expand Up @@ -145,6 +151,10 @@ rule test-requirements ( properties * )
{
warn-once "[$(READER_PATH)] Missing DLL: $(READER_NAME)_Test is only testing that it can identify files, not read them." ;
}
else if <address-model>32 in $(properties)
{
warn-once "[$(READER_PATH)] 32-bit build: $(READER_NAME)_Test is only testing that it can identify files, not read them." ;
}

return $(result) ;
}
Expand Down
3 changes: 2 additions & 1 deletion pwiz_aux/msrc/utility/vendor_api/Waters/Jamfile.jam
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ import path ;
rule vendor-api-requirements ( properties * )
{
local result = [ masslynxraw-dll-location $(API_PATH) : $(properties) ] ;
if $(result)
if $(result) &&
! <address-model>32 in $(properties)
{
result = <search>$(result) ;
}
Expand Down

0 comments on commit aa73107

Please sign in to comment.