Merge lp://qastaging/~compiz-team/compiz/libcompizconfig-test-setup into lp://qastaging/compiz/0.9.8

Proposed by Sam Spilsbury
Status: Merged
Merged at revision: 3215
Proposed branch: lp://qastaging/~compiz-team/compiz/libcompizconfig-test-setup
Merge into: lp://qastaging/compiz/0.9.8
Prerequisite: lp://qastaging/~compiz-team/compiz/build-libcompizconfig
Diff against target: 107 lines (+49/-2)
2 files modified
compizconfig/libcompizconfig/src/compiz.cpp (+22/-1)
compizconfig/libcompizconfig/src/main.c (+27/-1)
To merge this branch: bzr merge lp://qastaging/~compiz-team/compiz/libcompizconfig-test-setup
Reviewer Review Type Date Requested Status
Daniel van Vugt Approve
Compiz Maintainers Pending
Review via email: mp+106659@code.qastaging.launchpad.net

Description of the change

Adds some environment variables to change where libcompizconfig looks for things to be used by tests

1. Read "COMPIZ_METADATA_PATH" to find plugins
2. Read "LIBCOMPIZCONFIG_BACKEND_PATH" to find and load backends

To post a comment you must log in.
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

This one also fails to build the same as its siblings and parent (the prerequisite). Now fixing...

review: Needs Fixing
3212. By Daniel van Vugt

Fix a couple of build failures

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Revision 3212 works for me.

Though something like this:
64 + if (asprintf (&backenddir, "%s",
65 + override_backend) == -1)
66 + backenddir = NULL;

would be more clearly written:
    backenddir = strdup(override_backend);

However if you look at the surrounding code you will notice that any allocation and free of backenddir is pointless. Should just use override_backend in place.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches