Skip to content

Commit

Permalink
fixup! Fix the old demo test
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesWrigley committed Jun 27, 2024
1 parent dfc1e36 commit 844760a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions test/Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[deps]
CImGui = "5d785b6c-b76f-510e-a07c-3070796c7e87"
GLFW = "f7f18e0c-5ee9-5ccd-a5bf-e8befd85ed98"
GLFW_jll = "0656b61e-2033-5cc2-a64a-77c0f6c09b89"
ModernGL = "66fc600b-dfda-50eb-8b99-91cfa97b1301"
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
10 changes: 7 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# using CImGui
using GLFW
# using Test
using GLFW_jll
using Test

window = GLFW.CreateWindow(100, 100, "foo")
width = 100
height = 100
title = "foo"
window = @ccall libglfw.glfwCreateWindow(width::Cint, height::Cint, title::Cstring, C_NULL::Ptr{Cvoid}, C_NULL::Ptr{Cvoid})::Ptr{Cvoid}
@test window != C_NULL

# @testset "CImGui.jl" begin
# # if CI only run if linux given xvfb is available in CI
Expand Down

0 comments on commit 844760a

Please sign in to comment.