Skip to content

Commit

Permalink
Add disabled test to demonstrate native incremental build problem
Browse files Browse the repository at this point in the history
  • Loading branch information
big-guy committed Nov 24, 2015
1 parent f019336 commit e66c683
Showing 1 changed file with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,25 @@ abstract class AbstractNativeLanguageIncrementalCompileIntegrationTest extends A
outputs.recompiledFile sourceFile
}

@NotYetImplemented
def "does not recompile when fallback mechanism is used and there are empty directories"() {
given:
file("src/main/headers/empty/directory").mkdirs()
sourceFile << """
#define MY_HEADER "${otherHeaderFile.name}"
#include MY_HEADER
"""

and:
outputs.snapshot { run "mainExecutable" }

when:
executer.withArgument("--info")
run "mainExecutable"
then:
skipped compileTask
}

def "source is always recompiled if it includes header via macro"() {
given:
def notIncluded = file("src/main/headers/notIncluded.h")
Expand Down

0 comments on commit e66c683

Please sign in to comment.