Menu

#266 regression test: bad handling of paths in makefile

None
closed-accepted
None
5
2016-01-28
2016-01-28
No

Hello SDCC team,

In regression tests you can do cmds like:

make ALL_C_TESTS=tests/bug-2458.c ALL_M_TESTS= ALL_PORTS=stm8

However it does not work unless you write explicitly something like

make ALL_C_TESTS=./tests/bug-2458.c ALL_M_TESTS= ALL_PORTS=stm8

Notice the extra "./"

This is because of some poor path handling in the makefile as both should work.

This patch fixes it up.

Now the path format does not matter.

Thanks,

/pedro

1 Attachments

Discussion

  • Philipp Klaus Krause

    • status: open --> closed-accepted
    • assigned_to: Philipp Klaus Krause
    • Group: -->
     
  • Philipp Klaus Krause

    Applied in revision #9488.

    Philipp

     

Log in to post a comment.