Skip to content

Description: Here the test looks for 64-bit binary alwasys and hence …#134

Open
bskjois wants to merge 1 commit into
autotest:masterfrom
bskjois:gtk2_kowshik
Open

Description: Here the test looks for 64-bit binary alwasys and hence …#134
bskjois wants to merge 1 commit into
autotest:masterfrom
bskjois:gtk2_kowshik

Conversation

@bskjois

@bskjois bskjois commented Jan 11, 2018

Copy link
Copy Markdown
Contributor

…was failing on all 32-bit archs. So, added a check to know the arch and look for the binary accordingly.

…was failing on all 32-bit archs. So, added a check to know the arch and look for the binary accordingly.
Comment thread linux-tools/gtk2/gtk2.sh
tc_register "gtk-query-immodules-2.0-64 testing"
gtk-query-immodules-2.0-64 >$stdout 2>$stderr
fi

@athira-rajeev athira-rajeev Jan 15, 2018

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this check be made generic for any version ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a good suggestion but I looked at different versions of gtk2 on different distros. All are providing the same library. So I think, we can consider this as generic one till there is any change.

[root@localhost ~]# rpm -ql gtk2-2.24.28-8.el7.ppc64le | grep gtk-query
/usr/bin/gtk-query-immodules-2.0-64

[root@localhost ~]# rpm -ql gtk2-2.24.31-1.el7.ppc64le | grep gtk-query
/usr/bin/gtk-query-immodules-2.0-64

[root@localhost ~]$ rpm -ql gtk2-2.24.30-1.fc24.i686 | grep gtk-query
/usr/bin/gtk-query-immodules-2.0-32

[root@localhost ~]$ rpm -ql gtk2-2.24.30-1.fc24.x86_64 | grep gtk-query
/usr/bin/gtk-query-immodules-2.0-64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants