Edit

kc3-lang/pkgconf/tests/conflicts.sh

Branch :

  • Show log

    Commit

  • Author : Baptiste Daroussin
    Date : 2016-09-18 22:48:13
    Hash : 5c2bee67
    Message : Add Kyua tests

  • tests/conflicts.sh
  • #!/usr/bin/env atf-sh
    
    . $(atf_get_srcdir)/test_env.sh
    
    tests_init \
    	libs \
    	ignore
    
    libs_body()
    {
    	export PKG_CONFIG_PATH="${selfdir}/lib1"
    	atf_check \
    		-o inline:"-L/test/lib -lconflicts  \n" \
    		pkgconf --libs conflicts
    }
    
    ignore_body()
    {
    	export PKG_CONFIG_PATH="${selfdir}/lib1"
    	atf_check \
    		-o inline:"-L/test/lib -lconflicts  \n" \
    		pkgconf --ignore-conflicts --libs conflicts
    }